Repository navigation
[AURON #1809] Rename SemiJoin JoinerParams probe_is_join_side - #2751
Open
dragonknightk wants to merge 1 commit into
Open
dragonknightk wants to merge 1 commit into
dragonknightk wants to merge 1 commit into
Conversation
# Which issue does this PR close? Closes issue 1809 # Rationale for this change The broadcast hash SemiJoin flag `JoinerParams.probe_is_join_side` is easy to misread. In this codebase `join_side` is a noun (LEFT or RIGHT), not an adjective, so the old name does not say what the flag actually means. The flag is true when the probe side is also the outer side of the semi, anti, or existence join: left for a left join, right for a right join. # What changes are included in this PR? Rename the field to `is_probe_on_outer_side` on the broadcast hash SemiJoin `JoinerParams` only, and add a short comment on the field. The sort-merge SemiJoin and the broadcast full join keep their own `JoinerParams` unchanged. Runtime behavior is unchanged. # Are there any user-facing changes? No # How was this patch tested? Existing broadcast hash join unit tests cover left and right semi, anti, and existence joins, including both probe-on-outer-side and probe-on-inner-side cases, plus residual filter and spill paths. Signed-off-by: dragonknightk <37928252+dragonknightk@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #1809
Rationale for this change
The broadcast hash SemiJoin flag
JoinerParams.probe_is_join_sideis easy to misread. In this codebasejoin_sideis a noun (LEFT or RIGHT), not an adjective, so the old name does not say what the flag actually means. The flag is true when the probe side is also the outer side of the semi, anti, or existence join: left for a left join, right for a right join.What changes are included in this PR?
Rename the field to
is_probe_on_outer_sideon the broadcast hash SemiJoinJoinerParamsonly, and add a short comment on the field. The sort-merge SemiJoin and the broadcast full join keep their ownJoinerParamsunchanged. Runtime behavior is unchanged.Are there any user-facing changes?
No
How was this patch tested?
Existing broadcast hash join unit tests cover left and right semi, anti, and existence joins, including both probe-on-outer-side and probe-on-inner-side cases, plus residual filter and spill paths.
Was this patch authored or co-authored using generative AI tooling?
If yes, include:
Generated-by: Grok BotASF guidance: https://www.apache.org/legal/generative-tooling.html