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

Method tryGetTableUUID

src/Databases/DatabaseAtomic.cpp:529–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529UUID DatabaseAtomic::tryGetTableUUID(const String & table_name) const
530{
531 if (auto table = tryGetTable(table_name, getContext()))
532 return table->getStorageID().uuid;
533 return UUIDHelpers::Nil;
534}
535
536void DatabaseAtomic::beforeLoadingMetadata(ContextMutablePtr /*context*/, LoadingStrictnessLevel mode)
537{

Callers 3

executeToTableImplMethod · 0.45
resolveStorageIDMethod · 0.45
tryResolveStorageIDMethod · 0.45

Calls 3

tryGetTableFunction · 0.85
getContextFunction · 0.50
getStorageIDMethod · 0.45

Tested by

no test coverage detected