Zoltan Borok-Nagy has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14290


Change subject: IMPALA-8969: Grouping aggregator can cause segmentation fault 
when doing multiple aggregations
......................................................................

IMPALA-8969: Grouping aggregator can cause segmentation fault when doing 
multiple aggregations

Grouping aggregator always tried to serialize the 0th tuple regardless
of the aggregation index. This could lead to a segmentation fault
because the 0th tuple might be null.

Testing:
Added a query that triggers the error to multiple-distinct-aggs.test

Change-Id: I7acdd40c63166cd4986e546a992c0816f94823d5
---
M be/src/exec/grouping-aggregator-ir.cc
M 
testdata/workloads/functional-query/queries/QueryTest/multiple-distinct-aggs.test
2 files changed, 18 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/90/14290/1
--
To view, visit http://gerrit.cloudera.org:8080/14290
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7acdd40c63166cd4986e546a992c0816f94823d5
Gerrit-Change-Number: 14290
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>

Reply via email to