Skip to content

doc: Add comments to clarify algorithm for MarkJoins#16436

Merged
alamb merged 4 commits intoapache:mainfrom
jonathanc-n:add-docs-for-right-mark-join
Jun 19, 2025
Merged

doc: Add comments to clarify algorithm for MarkJoins#16436
alamb merged 4 commits intoapache:mainfrom
jonathanc-n:add-docs-for-right-mark-join

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
@jonathanc-n jonathanc-n deleted the add-docs-for-right-mark-join branch October 9, 2025 20:50
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