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

Function tryGetTable

src/Interpreters/InJoinSubqueriesPreprocessor.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50{
51
52StoragePtr tryGetTable(const ASTPtr & database_and_table, ContextPtr context)
53{
54 auto table_id = context->tryResolveStorageID(database_and_table);
55 if (!table_id)
56 return {};
57 return DatabaseCatalog::instance().tryGetTable(table_id, context);
58}
59
60using CheckShardsAndTables = InJoinSubqueriesPreprocessor::CheckShardsAndTables;
61

Callers 15

renameTableMethod · 0.85
dropTableMethod · 0.85
tryGetTableUUIDMethod · 0.85
tryGetTableMethod · 0.85
tryGetTableMethod · 0.85
recoverLostReplicaMethod · 0.85
tryGetTableMethod · 0.85
tryGetTableUUIDMethod · 0.85
tryGetTableMethod · 0.85
isTableExistMethod · 0.85

Calls 2

tryResolveStorageIDMethod · 0.80
tryGetTableMethod · 0.45

Tested by

no test coverage detected