Skip to content

feat: Finalize support for RightMark join + Mark join swap #16488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

jonathanc-n
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

We need to support Sort Merge Join, Symmetric Hash Join and swapping join sides for Mark Joins.

What changes are included in this PR?

Support SMJ + SHJ

  • Added tests + join support for SortMergeJoin and SymmetricHashJoin

Added Support for Swap

  • Added mark joins for being supported by swap.
  • Projection swapping as well.

Are these changes tested?

Yes added unit tests, and sqllogictests shows that swapping support works

@github-actions github-actions bot added logical-expr Logical plan and expressions optimizer Optimizer rules core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) common Related to common crate physical-plan Changes to the physical-plan crate labels Jun 20, 2025
@jonathanc-n jonathanc-n changed the title feat: Finalize support for RightMark join feat: Finalize support for RightMark join + Mark join swap Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Related to common crate core Core DataFusion crate logical-expr Logical plan and expressions optimizer Optimizer rules physical-plan Changes to the physical-plan crate sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement RightMark join
1 participant