mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Experimenting
This commit is contained in:
parent
f65b75ce5a
commit
61ff06be70
@ -245,6 +245,8 @@ void DatabaseOnDisk::renameTable(
|
||||
ASTPtr DatabaseOnDisk::getCreateTableQueryImpl(const Context & context, const String & table_name, bool throw_on_error) const
|
||||
{
|
||||
ASTPtr ast;
|
||||
bool ht = tryGetTable(context, table_name) != nullptr;
|
||||
std::cerr << "HAS_TABLE: " << ht << "\n";
|
||||
|
||||
auto table_metadata_path = getObjectMetadataPath(table_name);
|
||||
ast = getCreateQueryFromMetadata(context, table_metadata_path, throw_on_error);
|
||||
|
Loading…
Reference in New Issue
Block a user