Hello Quanlong Huang, Steve Carlin, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    https://gerrit.cloudera.org/25002

to look at the new patch set (#4).

Change subject: IMPALA-15779: Use HBO stats for Calcite filters
......................................................................

IMPALA-15779: Use HBO stats for Calcite filters

Use matching HDFS scan history for filters above table scans,
including column projections introduced by trimming. Reuse predicate
conversion and pruning with an isolated Analyzer. Cache lookups by
canonical key for stable estimates across optimizer alternatives.
Keep selectivity estimates when no exact history matches.

Extract filtered HBO lookup into a helper to keep getRowCount small.
Read unfiltered history on demand and cache hits and misses so an
exact filtered match does not need the constructor lookup.

Testing: TestCalciteHboStats 29/30 passed; one case failed because the
TPCH fixture is unavailable. HboKeyStringTest had no additional
failures compared with the master control.

Change-Id: I9270a5f94d42a4ad20d3337819b46467e83a3bf7
Assisted-by: GPT-6 (Codex)
---
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/schema/CalciteTable.java
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/schema/ImpalaRelMdRowCount.java
M 
java/calcite-planner/src/test/java/org/apache/impala/calcite/planner/TestCalciteHboStats.java
3 files changed, 310 insertions(+), 19 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/02/25002/4
--
To view, visit https://gerrit.cloudera.org/25002
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9270a5f94d42a4ad20d3337819b46467e83a3bf7
Gerrit-Change-Number: 25002
Gerrit-PatchSet: 4
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]>

Reply via email to