mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +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
|
// 'type_full' column
|
||||||
if (column_mask[src_index++])
|
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()));
|
res_columns[res_index++]->insert(queryToString(expression->type->clone()));
|
||||||
else
|
else
|
||||||
res_columns[res_index++]->insertDefault();
|
res_columns[res_index++]->insertDefault();
|
||||||
|
Loading…
Reference in New Issue
Block a user