Skip to content

Allow dynamic filter pushdown for left join#2

Closed
discord9 wants to merge 1 commit into
GreptimeTeam:greptimedb-53.1.0-function-signature-exec-errorfrom
discord9:allow-left-join-dynamic-filter
Closed

Allow dynamic filter pushdown for left join#2
discord9 wants to merge 1 commit into
GreptimeTeam:greptimedb-53.1.0-function-signature-exec-errorfrom
discord9:allow-left-join-dynamic-filter

Conversation

@discord9

@discord9 discord9 commented Jun 3, 2026

Copy link
Copy Markdown

Summary\n- allow join dynamic filter pushdown for LEFT JOIN in HashJoinExec\n- keep existing INNER JOIN behavior unchanged\n\n## Rationale\nFor LEFT JOIN, the dynamic filter is built from the preserved left/build side and applied to the right/probe side. Filtering the right side by left-side join keys is semantically safe because unmatched left rows are still preserved and padded with NULLs.\n\n## Validation\n- cargo check -p datafusion-physical-plan --lib\n- GreptimeDB integration smoke: cargo test -p tests-integration remote_dyn_filter_test -- --nocapture\n - verified HashJoinExec: mode=CollectLeft, join_type=Left\n - verified right-side MergeScanExec receives non-empty dyn_filters\n - verified unmatched left key remains in LEFT JOIN output\n

@discord9

discord9 commented Jun 3, 2026

Copy link
Copy Markdown
Author

Closing duplicate; please use #3.

@discord9

discord9 commented Jun 3, 2026

Copy link
Copy Markdown
Author

Duplicate of #3.

@discord9 discord9 closed this Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant