doris
doris copied to clipboard
[Enchancement](sort) refactor of SortingQueueImpl::update_batch_size / MergeSortCursorImpl::reverse
What problem does this PR solve?
- refactor of SortingQueueImpl::update_batch_size
- optmization of MergeSortCursorImpl::reverse
Check List (For Author)
-
Test
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason
-
Behavior changed:
- [ ] No.
- [ ] Yes.
-
Does this need documentation?
- [ ] No.
- [ ] Yes.
Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label
run buildall
Thank you for your contribution to Apache Doris. Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:
- What problem was fixed (it's best to include specific error reporting information). How it was fixed.
- Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
- What features were added. Why was this function added?
- Which code was refactored and why was this part of the code refactored?
- Which functions were optimized and what is the difference before and after the optimization?
run buildall
run buildall
run buildall
run buildall
run buildall
run buildall
run buildall
BE Regression && UT Coverage Report
Increment line coverage 68.25% (43/63) :tada:
Increment coverage report Complete coverage report
| Category | Coverage |
|---|---|
| Function Coverage | 61.31% (16112/26281) |
| Line Coverage | 50.81% (151552/298255) |
| Region Coverage | 48.21% (86761/179967) |
| Branch Coverage | 41.57% (42504/102250) |
PR approved by at least one committer and no changes requested.
PR approved by anyone and no changes requested.