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

Method getDatabaseAndTable

src/Interpreters/DatabaseCatalog.cpp:876–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874}
875
876DatabaseAndTable DatabaseCatalog::getDatabaseAndTable(const StorageID & table_id, ContextPtr local_context) const
877{
878 std::optional<Exception> exc;
879 auto res = getTableImpl(table_id, local_context, &exc);
880 if (!res.second)
881 throw Exception(*exc);
882 return res;
883}
884
885DatabaseAndTable DatabaseCatalog::tryGetDatabaseAndTable(const StorageID & table_id, ContextPtr local_context) const
886{

Callers 2

makeBackupEntriesFunction · 0.80
executeToTableImplMethod · 0.80

Calls 1

ExceptionClass · 0.70

Tested by

no test coverage detected