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

Function getTablePath

src/Storages/StorageFile.cpp:279–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279std::string getTablePath(const std::string & table_dir_path, const std::string & format_name)
280{
281 return table_dir_path + "/data." + escapeForFileName(format_name);
282}
283
284/// Both db_dir_path and table_path must be converted to absolute paths (in particular, path cannot contain '..').
285void checkCreationIsAllowed(

Callers 7

StorageFileMethod · 0.85
renameMethod · 0.85
tryGetTableFromCacheMethod · 0.85
isTableExistMethod · 0.85
getTableImplMethod · 0.85
getTableImplMethod · 0.85
getTablePathMethod · 0.85

Calls 1

escapeForFileNameFunction · 0.85

Tested by

no test coverage detected