Addition to the fix of generic variant of topK aggregate function [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-12-19 20:21:47 +03:00
parent a5668a1502
commit e25514d28a

View File

@ -228,6 +228,7 @@ public:
const char * begin = nullptr;
StringRef str_serialized = column.serializeValueIntoArena(row_num, *arena, begin);
set.insert(str_serialized);
arena->rollback(str_serialized.size);
}
void merge(AggregateDataPtr place, ConstAggregateDataPtr rhs, Arena *) const override