Aleksandr Efimov has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/24693


Change subject: IMPALA-15236: Expose HBO match provenance
......................................................................

IMPALA-15236: Expose HBO match provenance

Record the canonicalization strategy and HBO hash together with the
matched cardinality. Show them in the plan profile and keep the original
estimate for debugging.

Reset the match metadata before each lookup so a later miss cannot show
stale provenance. Keep the empty-scan matching introduced by
IMPALA-15127, including constant-only UNION plans.

Testing:
- HistoricalStatsTest
- Focused HBO runtime validation
- python3 bin/jenkins/critique-gerrit-review.py --dryrun

Change-Id: I6d2deaaf78a2a41353454ba634a247d8c69825bf
Assisted-by: gpt-5 (OpenAI Codex)
---
M fe/src/main/java/org/apache/impala/planner/PlanNode.java
M fe/src/main/java/org/apache/impala/service/HistoricalStats.java
M fe/src/test/java/org/apache/impala/service/HistoricalStatsTest.java
M testdata/workloads/functional-query/queries/QueryTest/hbo-collection-scan.test
M 
testdata/workloads/functional-query/queries/QueryTest/hbo-disjunct-selectivity.test
M testdata/workloads/functional-query/queries/QueryTest/hbo-distinct-agg.test
M testdata/workloads/functional-query/queries/QueryTest/hbo-grouping-set.test
M testdata/workloads/functional-query/queries/QueryTest/hbo-iceberg-scan.test
M testdata/workloads/functional-query/queries/QueryTest/hbo-multiple-scans.test
M testdata/workloads/functional-query/queries/QueryTest/hbo-single-agg.test
M 
testdata/workloads/functional-query/queries/QueryTest/hbo-single-scan-nonpartitioned-no-stats.test
M 
testdata/workloads/functional-query/queries/QueryTest/hbo-single-scan-nonpartitioned-stats.test
M 
testdata/workloads/functional-query/queries/QueryTest/hbo-single-scan-partitioned-no-stats.test
M 
testdata/workloads/functional-query/queries/QueryTest/hbo-single-scan-partitioned-stats.test
M 
testdata/workloads/functional-query/queries/QueryTest/hbo-union-collection-scan.test
M testdata/workloads/functional-query/queries/QueryTest/hbo-union-consts.test
M 
testdata/workloads/functional-query/queries/QueryTest/hbo-union-same-tables.test
M testdata/workloads/functional-query/queries/QueryTest/hbo-union.test
M tests/query_test/test_hbo.py
19 files changed, 367 insertions(+), 231 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6d2deaaf78a2a41353454ba634a247d8c69825bf
Gerrit-Change-Number: 24693
Gerrit-PatchSet: 1
Gerrit-Owner: Aleksandr Efimov <[email protected]>

Reply via email to