https://clickhouse-test-reports.s3.yandex.net/18817/9049599e367bcccd809f45af138452f965b3303a/stress_test_(undefined)/test_run.txt.out.log
{
    assert(global_context != this || getApplicationType() == ApplicationType::LOCAL);
    return scalars.count(name);
}
void Context::addQueryAccessInfo(const String & quoted_database_name, const String & full_quoted_table_name, const Names & column_names)
{
    assert(global_context != this || getApplicationType() == ApplicationType::LOCAL);
    auto lock = getLock();
    query_access_info.databases.emplace(quoted_database_name);
    query_access_info.tables.emplace(full_quoted_table_name);
    for (const auto & column_name : column_names)
        query_access_info.columns.emplace(full_quoted_table_name + "." + backQuoteIfNeed(column_name));
}
StoragePtr Context::executeTableFunction(const ASTPtr & table_expression)
{
    
    auto hash = table_expression->getTreeHash();
    String key = toString(hash.first) + '_' + toString(hash.second);
    StoragePtr & res = table_function_results[key];
    if (!res)
    {
        TableFunctionPtr table_function_ptr = TableFunctionFactory::instance().get(table_expression, *this);
        
        res = table_function_ptr->execute(table_expression, *this, table_function_ptr->getName());
    }
    return res;
}
void Context::addViewSource(const StoragePtr & storage)