Skip to content

[GLUTEN-11774][VL] Use runtime stats to choose hash build side#11775

Open
wecharyu wants to merge 1 commit intoapache:mainfrom
wecharyu:GLUTEN-11774
Open

[GLUTEN-11774][VL] Use runtime stats to choose hash build side#11775
wecharyu wants to merge 1 commit intoapache:mainfrom
wecharyu:GLUTEN-11774

Conversation

@wecharyu
Copy link
Contributor

What changes are proposed in this pull request?

When AQE is enabled, we can use QueryStageExec's runtime stats to choose the smaller side as optimal build side.

Fix #11774.

How was this patch tested?

Test locally.

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the CORE works for Gluten Core label Mar 17, 2026
@github-actions
Copy link

Run Gluten Clickhouse CI on x86

@wecharyu
Copy link
Contributor Author

This patch could estimate right plan:

[pool-4-thread-1] OffloadJoin: Estimated join output: rows=250, bytes=23962
image

@zhouyuan zhouyuan requested a review from rui-mo March 17, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE works for Gluten Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HashBuild OOM caused by incorrect build side

1 participant