Lars Volker has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/12298


Change subject: IMPALA-8140: Fix use-after-poison in grouping aggregator
......................................................................

IMPALA-8140: Fix use-after-poison in grouping aggregator

IMPALA-7333 changed the memory transfer semantics to move memory when
attaching it to the output batch instead of copying it. This caused a
use-after-poison when the cleaning up the hash tables during the call to
Close(). To fix this, we now clean up the hash table before closing the
output row stream.

Testing: added a test to aggregation.test

Change-Id: Id23cd1e2fc5e003e3c9e3503436621a76d49559d
---
M be/src/exec/grouping-aggregator.cc
M testdata/workloads/functional-query/queries/QueryTest/aggregation.test
2 files changed, 11 insertions(+), 1 deletion(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id23cd1e2fc5e003e3c9e3503436621a76d49559d
Gerrit-Change-Number: 12298
Gerrit-PatchSet: 1
Gerrit-Owner: Lars Volker <[email protected]>

Reply via email to