mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-09 17:14:47 +00:00
Review fix.
This commit is contained in:
parent
42e7cc476e
commit
5f587af078
@ -74,7 +74,9 @@ void MergingAggregatedTransform::addBlock(Block block)
|
||||
/// Fill the last equal range.
|
||||
selector.resize_fill(row, enumerated_groups[last_group]);
|
||||
/// Enumerate new group if did not see it before.
|
||||
enumerated_groups.emplace(last_group, enumerated_groups.size());
|
||||
enumerated_groups.emplace(group, enumerated_groups.size());
|
||||
|
||||
last_group = group;
|
||||
}
|
||||
|
||||
/// Optimization for single group.
|
||||
|
Loading…
Reference in New Issue
Block a user