Merge branch 'gt/add_expression' of github.com:YiuRULE/ClickHouse into gt/add_expression

This commit is contained in:
Guillaume Tassery 2022-11-21 09:06:25 +01:00
commit 1f73c8dabd

View File

@ -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();