Hello Impala Public Jenkins,

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

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

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

Change subject: PROTOTYPE IMPALA-15673: Count runtime filters in the 
partitioned join cost
......................................................................

PROTOTYPE IMPALA-15673: Count runtime filters in the partitioned join cost

The partitioned join cost charges for sending every probe side row.
Runtime filters of the joins above often drop most of those rows at
the scan, but they are created after the distributed plan, so the cost
does not see them. In TPC-DS SF1000 q78 the probe side was costed at
2.88B rows instead of 589M, and the planner broadcast a 9.5 GB build.

A pre-pass over the single node plan now estimates, for each hash
join, the selectivity of the filters that inner and semi joins above
it apply to its probe side scan: cardinality / probe cardinality of
each join whose probe expr is bound by, or has a value transfer to, a
slot of the scan. The partitioned cost scales the probe cardinality by
it. The pre-pass is skipped with RUNTIME_FILTER_MODE=OFF.

Testing:
- TPC-DS SF1000, 8 executors, MT_DOP=8, PLANNER=CALCITE,
  CTE_THRESHOLD=1, on top of earlier prototypes: total 353.1 s ->
  345.9 s; q78 no longer broadcasts store_returns. No new tests.

Change-Id: I1026b2b71626cf5484c973f153d54dedc479cb4b
Assisted-by: Claude Opus 5.5 (Claude Code)
---
M fe/src/main/java/org/apache/impala/planner/DistributedPlanner.java
1 file changed, 113 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/87/25087/2
--
To view, visit http://gerrit.cloudera.org:8080/25087
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1026b2b71626cf5484c973f153d54dedc479cb4b
Gerrit-Change-Number: 25087
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>

Reply via email to