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

[CELEBORN-1879] Ignore invalid chunk range generated by splitSkewedPartitionLocations #3117

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

Conversation

Z1Wu
Copy link
Contributor

@Z1Wu Z1Wu commented Feb 25, 2025

What changes were proposed in this pull request?

Ignore invalid chunk range generated by splitSkewedPartitionLocations

Why are the changes needed?

Current implementation of skew partition split method (splitSkewedPartitionLocations) may generate chunk range where range.left > range.right. Such chunk range is invalid and will cause unnecessary initialization of PartitionReader

Does this PR introduce any user-facing change?

no

How was this patch tested?

ut

@turboFei
Copy link
Member

cc @wangshengjie123

@cfmcgrady
Copy link
Contributor

Thank you for the fix! The bug was introduced in #2373

@wangshengjie123
Copy link
Contributor

wangshengjie123 commented Feb 25, 2025

Nice catch, thanks @Z1Wu

cc @wangshengjie123

Thanks for ping me @turboFei

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.

4 participants