mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix tests.
This commit is contained in:
parent
2a9bcfbcd1
commit
557e531ff3
@ -996,7 +996,7 @@ void InterpreterSelectQuery::executeFetchColumns(
|
||||
argument_types[j] = header.getByName(desc->argument_names[j]).type;
|
||||
|
||||
Block block_with_count{
|
||||
{nullptr, std::make_shared<DataTypeAggregateFunction>(func, argument_types, desc->parameters), desc->column_name}};
|
||||
{ColumnPtr(column->cloneEmpty()), std::make_shared<DataTypeAggregateFunction>(func, argument_types, desc->parameters), desc->column_name}};
|
||||
|
||||
Chunk chunk(Columns(), column->size());
|
||||
chunk.addColumn(std::move(column));
|
||||
|
Loading…
Reference in New Issue
Block a user