mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
Merge branch 'gt/add_expression' of github.com:YiuRULE/ClickHouse into gt/add_expression
This commit is contained in:
commit
1f73c8dabd
@ -127,7 +127,7 @@ protected:
|
||||
// 'type_full' column
|
||||
if (column_mask[src_index++])
|
||||
{
|
||||
if (auto expression = index.definition_ast->as<ASTIndexDeclaration>())
|
||||
if (auto * expression = index.definition_ast->as<ASTIndexDeclaration>())
|
||||
res_columns[res_index++]->insert(queryToString(expression->type->clone()));
|
||||
else
|
||||
res_columns[res_index++]->insertDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user