https://clickhouse-test-reports.s3.yandex.net/16074/19e31578dfc5847766d13db7cbae9af6949fe5b3/fuzzer/fuzzer.log
{
    auto columns = getActualTableStructure(context);
    StoragePtr storage = getStorage(filename, format, columns, const_cast<Context &>(context), table_name, compression_method);
    storage->startup();
    return storage;
}
ColumnsDescription ITableFunctionFileLike::getActualTableStructure(const Context & context) const
{
    if (structure.empty())
    {
        assert(getName() == "file" && format == "Distributed");
        Strings paths = StorageFile::getPathsList(filename, context.getUserFilesPath(), context);
        if (paths.empty())
            throw Exception("Cannot get table structure from file, because no files match specified name", ErrorCodes::INCORRECT_FILE_NAME);
        auto read_stream = StorageDistributedDirectoryMonitor::createStreamFromFile(paths[0]);
        return ColumnsDescription{read_stream->getHeader().getNamesAndTypesList()};
    }
    return parseColumnsListFromString(structure, context);
}
}