Skip to content
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

Maintain right child's order in NestedLoopJoinExec #35

Conversation

alihan-synnada
Copy link

Which issue does this PR close?

Closes #.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Copy link
Collaborator

@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.

Let's see @berkaysynnada's review, I only have one question (see comment).

datafusion/physical-plan/src/joins/nested_loop_join.rs Outdated Show resolved Hide resolved
datafusion/physical-plan/src/joins/nested_loop_join.rs Outdated Show resolved Hide resolved
JoinType::RightSemi
)]
join_type: JoinType,
#[values(1, 5, 10, 30)] num_batches: usize,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Defining number of rows per batch is a more common style rather than number of batches. You can also increase the test coverage with different sized left and right batches (like left_batch size: 1, 5, 10..., right_batch size: 1, 5, 10...)

Copy link
Author

Choose a reason for hiding this comment

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

Addressed in 4b962ab

ozankabak pushed a commit that referenced this pull request Oct 4, 2024
…pache#12705)

* Support unparsing plans with both Aggregation and Window functions (#35)

* Fix unparsing for aggregation grouping sets

* Add test for grouping set unparsing

* Update datafusion/sql/src/unparser/utils.rs

Co-authored-by: Jax Liu <liugs963@gmail.com>

* Update datafusion/sql/src/unparser/utils.rs

Co-authored-by: Jax Liu <liugs963@gmail.com>

* Update

* More tests

---------

Co-authored-by: Jax Liu <liugs963@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants