mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
Try fix aggregating.
This commit is contained in:
parent
9fac9a7d38
commit
36604e93ce
@ -186,9 +186,10 @@ void AggregatingSortedTransform::merge()
|
||||
{
|
||||
/// Write the simple aggregation result for the previous group.
|
||||
if (merged_data.mergedRows() > 0)
|
||||
{
|
||||
insertSimpleAggregationResult();
|
||||
|
||||
merged_data.insertRow();
|
||||
merged_data.insertRow();
|
||||
}
|
||||
|
||||
/// if there are enough rows accumulated and the last one is calculated completely
|
||||
if (merged_data.hasEnoughRows())
|
||||
|
Loading…
Reference in New Issue
Block a user