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

Method isTableExist

src/Databases/DatabaseFilesystem.cpp:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137bool DatabaseFilesystem::isTableExist(const String & name, ContextPtr context_) const
138{
139 if (tryGetTableFromCache(name))
140 return true;
141
142 return checkTableFilePath(getTablePath(name), context_, /* throw_on_error */ false);
143}
144
145StoragePtr DatabaseFilesystem::getTableImpl(const String & name, ContextPtr context_, bool throw_on_error) const
146{

Callers

nothing calls this directly

Calls 1

getTablePathFunction · 0.85

Tested by

no test coverage detected