Hello Quanlong Huang, Steve Carlin, Impala Public Jenkins,

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

    http://gerrit.cloudera.org:8080/25002

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

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

IMPALA-15059: 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.

Tests: TestCalciteHboStats (30 passed). TestCalciteStats: 29 passed,
8 failures identical to 25002 PS2, including expected/actual values.

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, 307 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/02/25002/3
--
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: newpatchset
Gerrit-Change-Id: I9270a5f94d42a4ad20d3337819b46467e83a3bf7
Gerrit-Change-Number: 25002
Gerrit-PatchSet: 3
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