mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-12 02:23:14 +00:00
Try fix aggregating.
This commit is contained in:
parent
12a12eb3b8
commit
5bbfa40910
@ -189,12 +189,14 @@ void AggregatingSortedTransform::merge()
|
||||
{
|
||||
insertSimpleAggregationResult();
|
||||
merged_data.insertRow();
|
||||
last_key.reset();
|
||||
}
|
||||
|
||||
/// if there are enough rows accumulated and the last one is calculated completely
|
||||
if (merged_data.hasEnoughRows())
|
||||
{
|
||||
last_key.reset();
|
||||
return;
|
||||
}
|
||||
|
||||
/// We will write the data for the group. We copy the values of ordinary columns.
|
||||
merged_data.initializeRow(current->all_columns, current->pos,
|
||||
|
Loading…
Reference in New Issue
Block a user