mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Update src/Storages/ColumnsDescription.cpp
Co-authored-by: Vladimir C <vdimir@clickhouse.com>
This commit is contained in:
parent
0390035963
commit
4017b1eb89
@ -203,11 +203,10 @@ void ColumnsDescription::add(ColumnDescription column, const String & after_colu
|
||||
ErrorCodes::ILLEGAL_COLUMN);
|
||||
|
||||
/// Normalize ASTs to be compatible with InterpreterCreateQuery.
|
||||
FunctionNameNormalizer normalizer;
|
||||
if (column.default_desc.expression)
|
||||
normalizer.visit(column.default_desc.expression.get());
|
||||
FunctionNameNormalizer::visit(column.default_desc.expression.get());
|
||||
if (column.ttl)
|
||||
normalizer.visit(column.ttl.get());
|
||||
FunctionNameNormalizer::visit(column.ttl.get());
|
||||
|
||||
auto insert_it = columns.cend();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user