<https://clickhouse-test-reports.s3.yandex.net/25969/86d31445fd0dd9bc086432f559d1089c3d4a7700/fuzzer_debug/report.html#fail1>
#include <base/scope_guard.h>
#include <atomic>
#include <chrono>
namespace ProfileEvents
{
    extern const Event SelectedBytes;
    extern const Event SelectedRows;
}
namespace DB
{
namespace ErrorCodes
{
    extern const int LOGICAL_ERROR;
}
struct ViewsData
{
    
    std::list<ViewRuntimeData> views;
    
    ContextPtr context;
    StorageID source_storage_id;
    StorageMetadataPtr source_metadata_snapshot;
    StoragePtr source_storage;
    
    size_t max_threads = 1;
    
    
    std::atomic_bool has_exception = false;
    std::exception_ptr first_exception;
    ViewsData(ContextPtr context_, StorageID source_storage_id_, StorageMetadataPtr source_metadata_snapshot_ , StoragePtr source_storage_)