Hello Steve Carlin, Michael Smith, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/25237
to look at the new patch set (#2).
Change subject: IMPALA-15699: Calcite planner: fix grouping masks
......................................................................
IMPALA-15699: Calcite planner: fix grouping masks
Let Calcite split partial GROUPING_ID masks in repeated grouping sets.
Bind generated standard GROUPING calls to native BIGINT GROUPING_ID.
Keep direct conversion tests and add shared SQL cases for masks,
NULL keys and HAVING. Preserve each planner's current multiplicity
for repeated sets.
Testing: four Java tests passed; three fail on master. Shared QueryTest
passed with both planners, codegen off/on, distributed mt_dop 0/4 and
single-node execution, without fallback (48 SELECT profiles).
Validation used Java overlays on existing Linux artifacts; full
build/precommit was not run.
Change-Id: Ieab66c076173c1266492382cffb55e7e2139b84c
Assisted-by: gpt-6.1-sol
---
M
java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaGroupingIdFunction.java
M
java/calcite-planner/src/main/java/org/apache/impala/calcite/rel/node/ImpalaAggRel.java
A
java/calcite-planner/src/test/java/org/apache/impala/calcite/service/CalciteGroupingIdTest.java
A testdata/workloads/functional-query/queries/QueryTest/grouping-id.test
M tests/query_test/test_aggregation.py
5 files changed, 260 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/37/25237/2
--
To view, visit http://gerrit.cloudera.org:8080/25237
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ieab66c076173c1266492382cffb55e7e2139b84c
Gerrit-Change-Number: 25237
Gerrit-PatchSet: 2
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>