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

fix: Input batch to ShuffleRepartitioner.insert_batch should not be larger than configured batch size #523

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

viirya
Copy link
Member

@viirya viirya commented Jun 5, 2024

Which issue does this PR close?

Closes #498.

Rationale for this change

What changes are included in this PR?

How are these changes tested?

@viirya
Copy link
Member Author

viirya commented Jun 5, 2024

cc @andygrove @sunchao

Copy link
Contributor

@advancedxy advancedxy left a comment

Choose a reason for hiding this comment

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

LGTM, except one minor issue.

core/src/execution/datafusion/shuffle_writer.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@advancedxy advancedxy left a comment

Choose a reason for hiding this comment

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

lgtm

@viirya
Copy link
Member Author

viirya commented Jun 6, 2024

cc @huaxingao @kazuyukitanimura

Copy link
Member

@sunchao sunchao left a comment

Choose a reason for hiding this comment

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

LGTM

@viirya viirya merged commit c1cdf46 into apache:main Jun 6, 2024
43 checks passed
@viirya
Copy link
Member Author

viirya commented Jun 6, 2024

Thank you @sunchao

@viirya viirya deleted the fix_insert_large_batch branch June 6, 2024 07:04
himadripal pushed a commit to himadripal/datafusion-comet that referenced this pull request Sep 7, 2024
…arger than configured batch size (apache#523)

* fix: Input batch to ShuffleRepartitioner.insert_batch should not be larger than configured batch size

* Add test

* For review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: org.apache.comet.CometNativeException: range end index 8221 out of range for slice of length 8192
3 participants