Hello Quanlong Huang, Steve Carlin,

I'd like you to do a code review. Please visit

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

to review the following change.


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

IMPALA-15059: Use HBO stats for Calcite joins

Read exact HDFS join history in Calcite row-count metadata before
join ordering. Support two-table inner joins with filters and column
projections. Match physical operand order and predicates, validate
scan inputs, and cache matches and misses for the query. Keep existing
estimates for unsupported shapes and missing history.

Tests: TestCalciteHboStats (36 passed), including join-order selection.
TestCalciteStats: 29 passed, 8 failures identical to parent 25002 PS1.

Change-Id: I16ca27ecf17957752368d869d4bc61cc3076898c
Assisted-by: GPT-6 (Codex)
---
A 
java/calcite-planner/src/main/java/org/apache/impala/calcite/schema/CalciteHboJoinStats.java
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
4 files changed, 407 insertions(+), 27 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/03/25003/1
--
To view, visit http://gerrit.cloudera.org:8080/25003
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I16ca27ecf17957752368d869d4bc61cc3076898c
Gerrit-Change-Number: 25003
Gerrit-PatchSet: 1
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>

Reply via email to