mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
Update StorageMaterializedView.cpp
This commit is contained in:
parent
f838c25d20
commit
cb3d0ed275
@ -161,6 +161,7 @@ StorageMaterializedView::StorageMaterializedView(
|
|||||||
manual_create_query->setDatabase(getStorageID().database_name);
|
manual_create_query->setDatabase(getStorageID().database_name);
|
||||||
manual_create_query->setTable(generateInnerTableName(getStorageID()));
|
manual_create_query->setTable(generateInnerTableName(getStorageID()));
|
||||||
manual_create_query->uuid = query.to_inner_uuid;
|
manual_create_query->uuid = query.to_inner_uuid;
|
||||||
|
manual_create_query->has_uuid = true;
|
||||||
|
|
||||||
auto new_columns_list = std::make_shared<ASTColumns>();
|
auto new_columns_list = std::make_shared<ASTColumns>();
|
||||||
new_columns_list->set(new_columns_list->columns, query.columns_list->columns->ptr());
|
new_columns_list->set(new_columns_list->columns, query.columns_list->columns->ptr());
|
||||||
|
Loading…
Reference in New Issue
Block a user