fix groupBy deserialization

This commit is contained in:
Xavier Léauté 2014-08-22 13:43:56 -07:00
parent 72eb64a40c
commit 3261fd879a
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ public class GroupByQueryQueryToolChest extends QueryToolChest<Row, GroupByQuery
while (aggsIter.hasNext()) { while (aggsIter.hasNext()) {
final AggregatorFactory factory = aggsIter.next(); final AggregatorFactory factory = aggsIter.next();
Object agg = event.remove(factory.getName()); Object agg = event.get(factory.getName());
if (agg != null) { if (agg != null) {
event.put(factory.getName(), factory.deserialize(agg)); event.put(factory.getName(), factory.deserialize(agg));
} }