-
Notifications
You must be signed in to change notification settings - Fork 752
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
refactor: abstract a common merger to do merge sort. #14020
Merged
Merged
Conversation
This file contains 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
github-actions
bot
added
the
pr-refactor
this PR changes the code base without new features or bugfix
label
Dec 14, 2023
RinChanNOWWW
force-pushed
the
refactor-sort
branch
from
December 14, 2023 12:01
f3de5e2
to
749b8bf
Compare
RinChanNOWWW
force-pushed
the
refactor-sort
branch
7 times, most recently
from
December 15, 2023 07:11
fafc58a
to
bc37c9e
Compare
RinChanNOWWW
force-pushed
the
refactor-sort
branch
2 times, most recently
from
December 15, 2023 08:23
904182b
to
fce46a1
Compare
RinChanNOWWW
force-pushed
the
refactor-sort
branch
from
December 15, 2023 08:39
fce46a1
to
c33cca4
Compare
Docker Image for PR
|
RinChanNOWWW
force-pushed
the
refactor-sort
branch
2 times, most recently
from
December 16, 2023 05:10
186be1a
to
d155cf7
Compare
RinChanNOWWW
force-pushed
the
refactor-sort
branch
from
December 16, 2023 05:29
d155cf7
to
855d977
Compare
RinChanNOWWW
force-pushed
the
refactor-sort
branch
from
December 16, 2023 08:46
eb60945
to
43b9c1c
Compare
sundy-li
approved these changes
Dec 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ci-benchmark
Benchmark: run all test
pr-refactor
this PR changes the code base without new features or bugfix
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.
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
Add a
HeapMerger
to do multi-way merge sort by using a binary heap.TransformSortMerge
,TransformSortSpill
use this merger to do merge sort now.The integration for
TransformMultiSortMerge
will be done in next PR, as there are some problems to solve. I don't want it block this PR.Tests
This change is