[#1938] improvement: Use ShuffleSegment to replace FileBasedShuffleSegment and BufferSegment#1939
Open
wankunde wants to merge 3 commits intoapache:masterfrom
Open
[#1938] improvement: Use ShuffleSegment to replace FileBasedShuffleSegment and BufferSegment#1939wankunde wants to merge 3 commits intoapache:masterfrom
wankunde wants to merge 3 commits intoapache:masterfrom
Conversation
Test Results 2 717 files +32 2 717 suites +32 5h 35m 51s ⏱️ + 12m 0s Results for commit 0687cee. ± Comparison against base commit b5cac30. This pull request removes 9 and adds 9 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Member
|
Sorry for the late reply. @wankunde Thanks for proposing this. Actually the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Now the BufferSegment class and FileBasedShuffleSegment class both six fields, represents a segment.
To add a new ShuffleSegment to replace these two class can make the code easier to maintain.
Why are the changes needed?
To simplify the code.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Exists UT