mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
dbms: do not expand ALIAS column names. [#METR-16390]
This commit is contained in:
parent
728d367d34
commit
8ddc49125c
@ -281,7 +281,7 @@ void ExpressionAnalyzer::addStorageAliases()
|
||||
return;
|
||||
|
||||
for (const auto & alias : storage->alias_columns)
|
||||
aliases[alias.name] = storage->column_defaults[alias.name].expression;
|
||||
(aliases[alias.name] = storage->column_defaults[alias.name].expression->clone())->setAlias(alias.name);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user