Quanlong Huang has posted comments on this change. ( http://gerrit.cloudera.org:8080/25002 )
Change subject: IMPALA-15059: Use HBO stats for Calcite filters ...................................................................... Patch Set 2: (2 comments) http://gerrit.cloudera.org:8080/#/c/25002/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/schema/CalciteTable.java File java/calcite-planner/src/main/java/org/apache/impala/calcite/schema/CalciteTable.java: http://gerrit.cloudera.org:8080/#/c/25002/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/schema/CalciteTable.java@103 PS2, Line 103: private final Map<String, Double> filteredHboRowCounts_ = new HashMap<>(); nit: can we add some comments about these variables? http://gerrit.cloudera.org:8080/#/c/25002/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/schema/CalciteTable.java@128 PS2, Line 128: hboRowCount_ = loadHboRowCount(); Do we still need this row count if there is a Filter over TableScan and hits HBO stats? I think the Filter and TableScan (plus some corresponding Projects) will be converted into a single HdfsScanNode. Fetching HBO stats for the TableScan seems redundant and increases the planning time. -- To view, visit http://gerrit.cloudera.org:8080/25002 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I9270a5f94d42a4ad20d3337819b46467e83a3bf7 Gerrit-Change-Number: 25002 Gerrit-PatchSet: 2 Gerrit-Owner: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Steve Carlin <[email protected]> Gerrit-Comment-Date: Mon, 12 Oct 2026 09:39:25 +0000 Gerrit-HasComments: Yes
