Michael Smith has posted comments on this change. ( 
https://gerrit.cloudera.org/25030 )

Change subject: IMPALA-15489: Inefficient CTE plans with trivial IS NOT NULL 
filters
......................................................................


Patch Set 2:

(2 comments)

https://gerrit.cloudera.org/#/c/25030/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteOptimizer.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteOptimizer.java:

https://gerrit.cloudera.org/#/c/25030/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteOptimizer.java@351
PS2, Line 351:     builder.addRuleInstance(new 
ImpalaFilterSimplifyRule(simplifier));
> The simplification rule is the only new prod change in the second patch. It
Ack


https://gerrit.cloudera.org/#/c/25030/2/testdata/workloads/functional-query/queries/QueryTest/cte.test
File testdata/workloads/functional-query/queries/QueryTest/cte.test:

https://gerrit.cloudera.org/#/c/25030/2/testdata/workloads/functional-query/queries/QueryTest/cte.test@28
PS2, Line 28: '|  |  predicates: n_nationkey IS NOT NULL'
> It only happens for CTEs and performance wise I doubt its gonna change much
Ack



--
To view, visit https://gerrit.cloudera.org/25030
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id5084b4b03cb0277a945338855a2d85f6c04a211
Gerrit-Change-Number: 25030
Gerrit-PatchSet: 2
Gerrit-Owner: Stamatis Zampetakis <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Stamatis Zampetakis <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>
Gerrit-Comment-Date: Fri, 06 Nov 2026 17:55:04 +0000
Gerrit-HasComments: Yes

Reply via email to