mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-26 19:50:51 +00:00
Added force_add_agg_info to SourceFromInputStream/
This commit is contained in:
parent
1e5731496c
commit
8298818036
@ -33,7 +33,7 @@ Chunk SourceFromInputStream::generate()
|
|||||||
UInt64 num_rows = block.rows();
|
UInt64 num_rows = block.rows();
|
||||||
Chunk chunk(block.getColumns(), num_rows);
|
Chunk chunk(block.getColumns(), num_rows);
|
||||||
|
|
||||||
if (has_aggregate_functions)
|
if (force_add_aggregating_info || has_aggregate_functions)
|
||||||
{
|
{
|
||||||
auto info = std::make_shared<AggregatedChunkInfo>();
|
auto info = std::make_shared<AggregatedChunkInfo>();
|
||||||
info->bucket_num = block.info.bucket_num;
|
info->bucket_num = block.info.bucket_num;
|
||||||
|
Loading…
Reference in New Issue
Block a user