Aleksandr Efimov 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? Added comments for both caches in PS3. 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 hit Fixed in PS3: the unfiltered lookup is lazy and caches hits and misses. An exact filtered HBO hit skips it. Added a regression test; the full dry run passed. -- 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: Thu, 29 Oct 2026 15:20:05 +0000 Gerrit-HasComments: Yes
