Skip to content

[VL] Fix broadcast hash table reuse for reused exchanges#12264

Open
wecharyu wants to merge 3 commits into
apache:mainfrom
wecharyu:fix_shared_bhj_table
Open

[VL] Fix broadcast hash table reuse for reused exchanges#12264
wecharyu wants to merge 3 commits into
apache:mainfrom
wecharyu:fix_shared_bhj_table

Conversation

@wecharyu

@wecharyu wecharyu commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

What changes are proposed in this pull request?

Create unique hash table ID with plan_id, build_keys, join_type and null_aware, which determine the hash table contents.

How was this patch tested?

Add UT.

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

Generated-by: Codex GPT-5.5

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

}
}

override def doCanonicalizeForBroadcastMode(mode: BroadcastMode): BroadcastMode = {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this part still needed when buildHashTableOncePerExecutor is disabled?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doCanonicalizeForBroadcastMode() is not invoked anywhere, broadcast canonicalization goes through ColumnarBroadcastExchangeExec.doCanonicalize().

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

@wecharyu wecharyu force-pushed the fix_shared_bhj_table branch from 075dc89 to 7552606 Compare June 9, 2026 16:07
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE works for Gluten Core VELOX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants