mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +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.
|
/// Write the simple aggregation result for the previous group.
|
||||||
if (merged_data.mergedRows() > 0)
|
if (merged_data.mergedRows() > 0)
|
||||||
|
{
|
||||||
insertSimpleAggregationResult();
|
insertSimpleAggregationResult();
|
||||||
|
|
||||||
merged_data.insertRow();
|
merged_data.insertRow();
|
||||||
|
}
|
||||||
|
|
||||||
/// if there are enough rows accumulated and the last one is calculated completely
|
/// if there are enough rows accumulated and the last one is calculated completely
|
||||||
if (merged_data.hasEnoughRows())
|
if (merged_data.hasEnoughRows())
|
||||||
|
Loading…
Reference in New Issue
Block a user