MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / tryGetTable

Function tryGetTable

src/Interpreters/InJoinSubqueriesPreprocessor.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34{
35
36StoragePtr tryGetTable(const ASTPtr & database_and_table, ContextPtr context)
37{
38 auto table_id = context->tryResolveStorageID(database_and_table);
39 if (!table_id)
40 return {};
41 return DatabaseCatalog::instance().tryGetTable(table_id, context);
42}
43
44using CheckShardsAndTables = InJoinSubqueriesPreprocessor::CheckShardsAndTables;
45

Callers 15

dropTableMethod · 0.85
tryGetTableUUIDMethod · 0.85
startupDatabaseAsyncMethod · 0.85
getTableMethod · 0.85
recoverLostReplicaMethod · 0.85
dropTableMethod · 0.85
tryGetTableUUIDMethod · 0.85
isTableExistMethod · 0.85
startSynchronizationMethod · 0.85
tryGetTableMethod · 0.85
attachTableMethod · 0.85

Calls 2

tryResolveStorageIDMethod · 0.80
tryGetTableMethod · 0.45

Tested by

no test coverage detected