mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Merge
This commit is contained in:
commit
80b6a34ba5
@ -48,6 +48,7 @@ StorageMaterializedView::StorageMaterializedView(
|
||||
/// Если запрос ATTACH, то к этому моменту внутренняя таблица уже должна быть подключена.
|
||||
if (attach_)
|
||||
{
|
||||
data = context.tryGetTable(database_name, inner_table_name);
|
||||
if (!data)
|
||||
throw Exception("Inner table is not attached yet."
|
||||
" Materialized view: " + database_name + "." + table_name + "."
|
||||
|
Loading…
Reference in New Issue
Block a user