mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
dbms: development [#CONV-2944].
This commit is contained in:
parent
aef03f0478
commit
82a82fdb66
@ -238,7 +238,7 @@ void Expression::executeImpl(ASTPtr ast, Block & block, unsigned part_id)
|
||||
|
||||
ColumnWithNameAndType column;
|
||||
column.type = node->return_type;
|
||||
column.name = node->getAlias();
|
||||
column.name = node->getColumnName();
|
||||
|
||||
size_t result_number = block.columns();
|
||||
block.insert(column);
|
||||
@ -255,7 +255,7 @@ void Expression::executeImpl(ASTPtr ast, Block & block, unsigned part_id)
|
||||
ColumnWithNameAndType column;
|
||||
column.column = node->type->createConstColumn(block.rows(), node->value);
|
||||
column.type = node->type;
|
||||
column.name = node->getAlias();
|
||||
column.name = node->getColumnName();
|
||||
|
||||
block.insert(column);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user