Impala Public Jenkins has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/12298 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> --- M be/src/exec/grouping-aggregator.cc M testdata/workloads/functional-query/queries/QueryTest/aggregation.test 2 files changed, 11 insertions(+), 1 deletion(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- 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: merged Gerrit-Change-Id: Id23cd1e2fc5e003e3c9e3503436621a76d49559d Gerrit-Change-Number: 12298 Gerrit-PatchSet: 3 Gerrit-Owner: Lars Volker <l...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Thomas Marshall <thomasmarsh...@cmu.edu> Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>