Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/22409 )
Change subject: IMPALA-13042: Calcite Planner; Enable partition pruning ...................................................................... Patch Set 4: (3 comments) http://gerrit.cloudera.org:8080/#/c/22409/4//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/22409/4//COMMIT_MSG@9 PS4, Line 9: Enables partition pruning in the HdfsScan RelNode. What is the visible outcome of this change? It produces different plans when Calcite is enabled? http://gerrit.cloudera.org:8080/#/c/22409/4/fe/src/main/java/org/apache/impala/planner/HdfsPartitionFilter.java File fe/src/main/java/org/apache/impala/planner/HdfsPartitionFilter.java: http://gerrit.cloudera.org:8080/#/c/22409/4/fe/src/main/java/org/apache/impala/planner/HdfsPartitionFilter.java@123 PS4, Line 123: Expr literalPredicate = predicate_.substitute(sMap, analyzer, true); Why did this change? Was it an existing bug? http://gerrit.cloudera.org:8080/#/c/22409/4/java/calcite-planner/src/main/java/org/apache/impala/calcite/rel/util/PrunedPartitionHelper.java File java/calcite-planner/src/main/java/org/apache/impala/calcite/rel/util/PrunedPartitionHelper.java: http://gerrit.cloudera.org:8080/#/c/22409/4/java/calcite-planner/src/main/java/org/apache/impala/calcite/rel/util/PrunedPartitionHelper.java@60 PS4, Line 60: // TODO: tblref is null. Tablesampling is disabled. Is there an existing ticket for this? -- To view, visit http://gerrit.cloudera.org:8080/22409 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I8c698b857555baeae347835b4a6b39d035f12405 Gerrit-Change-Number: 22409 Gerrit-PatchSet: 4 Gerrit-Owner: Steve Carlin <scar...@cloudera.com> Gerrit-Reviewer: Aman Sinha <amsi...@cloudera.com> Gerrit-Reviewer: Fang-Yu Rao <fangyu....@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com> Gerrit-Reviewer: Michael Smith <michael.sm...@cloudera.com> Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com> Gerrit-Comment-Date: Mon, 10 Mar 2025 22:37:46 +0000 Gerrit-HasComments: Yes