Aleksandr Efimov has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/25072 )

Change subject: PROTOTYPE IMPALA-15524: Keep selective DISTINCT under Calcite 
semi-joins
......................................................................


Patch Set 1:

(1 comment)

Could you share planning time, execution time and shuffle volume for DAG only, 
DISTINCT only, and both, against the same baseline?

http://gerrit.cloudera.org:8080/#/c/25072/1/java/calcite-planner/src/main/java/org/apache/impala/calcite/rules/ImpalaProjectToSemiJoinRule.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/rules/ImpalaProjectToSemiJoinRule.java:

http://gerrit.cloudera.org:8080/#/c/25072/1/java/calcite-planner/src/main/java/org/apache/impala/calcite/rules/ImpalaProjectToSemiJoinRule.java@120
PS1, Line 120:     return inputRows >= MIN_AGG_INPUT_ROWS
Have you tried wide grouping keys or skewed inputs? Row-count reduction alone 
may not capture the aggregation cost.



--
To view, visit http://gerrit.cloudera.org:8080/25072
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia59f136a695ff4ee7a90c77e7e65e58ce51c3f2a
Gerrit-Change-Number: 25072
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Comment-Date: Thu, 08 Oct 2026 17:22:17 +0000
Gerrit-HasComments: Yes

Reply via email to