Skip to content

doc: Add comments to clarify algorithm for MarkJoins #16436

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

Merged
merged 4 commits into from
Jun 19, 2025

Conversation

jonathanc-n
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

The algorithm that is used for mark joins in calculate_indices_by_join_type might be confusing for newer contributors so we should add a comment to clarify.

What changes are included in this PR?

Added comments with an example to explain how the algorithm works.

@github-actions github-actions bot added the physical-plan Changes to the physical-plan crate label Jun 18, 2025
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Copy link
Contributor

@ozankabak ozankabak left a comment

Choose a reason for hiding this comment

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

LGTM thank you

@alamb alamb merged commit 266daf8 into apache:main Jun 19, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-plan Changes to the physical-plan crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add documentation to clarify algorithms for Mark Joins
4 participants