mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Fixed error [#CLICKHOUSE-2].
This commit is contained in:
parent
adfc743e06
commit
84016cc96f
@ -2706,8 +2706,8 @@ void FunctionArrayPush::executeImpl(Block & block, const ColumnNumbers & argumen
|
||||
|
||||
auto result_column = return_type->createColumn();
|
||||
|
||||
auto & array_column = block.getByPosition(arguments[0]).column;
|
||||
auto & appended_column = block.getByPosition(arguments[1]).column;
|
||||
auto array_column = block.getByPosition(arguments[0]).column;
|
||||
auto appended_column = block.getByPosition(arguments[1]).column;
|
||||
|
||||
if (!block.getByPosition(arguments[0]).type->equals(*return_type))
|
||||
array_column = castColumn(block.getByPosition(arguments[0]), return_type, context);
|
||||
|
Loading…
Reference in New Issue
Block a user