-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[SR-4078] Add exchange merge sort operator #205
Merged
kangkaisen
merged 11 commits into
StarRocks:main
from
Pslydhh:provideexchangemergesortoperator
Sep 15, 2021
Merged
[SR-4078] Add exchange merge sort operator #205
kangkaisen
merged 11 commits into
StarRocks:main
from
Pslydhh:provideexchangemergesortoperator
Sep 15, 2021
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
run starrocks_be_unittest |
satanson
reviewed
Sep 14, 2021
be/src/exec/pipeline/exchange/exchange_merge_sort_source_operator.cpp
Outdated
Show resolved
Hide resolved
be/src/exec/pipeline/exchange/exchange_merge_sort_source_operator.cpp
Outdated
Show resolved
Hide resolved
be/src/exec/pipeline/exchange/exchange_merge_sort_source_operator.cpp
Outdated
Show resolved
Hide resolved
liuyehcf
reviewed
Sep 14, 2021
be/src/exec/pipeline/exchange/exchange_merge_sort_source_operator.cpp
Outdated
Show resolved
Hide resolved
be/src/exec/pipeline/exchange/exchange_merge_sort_source_operator.cpp
Outdated
Show resolved
Hide resolved
satanson
previously approved these changes
Sep 14, 2021
satanson
previously approved these changes
Sep 14, 2021
kangkaisen
reviewed
Sep 14, 2021
kangkaisen
reviewed
Sep 14, 2021
be/src/exec/pipeline/exchange/exchange_merge_sort_source_operator.h
Outdated
Show resolved
Hide resolved
kangkaisen
reviewed
Sep 14, 2021
be/src/exec/pipeline/exchange/exchange_merge_sort_source_operator.h
Outdated
Show resolved
Hide resolved
kangkaisen
reviewed
Sep 14, 2021
kangkaisen
reviewed
Sep 14, 2021
kangkaisen
reviewed
Sep 14, 2021
kangkaisen
reviewed
Sep 14, 2021
kangkaisen
reviewed
Sep 14, 2021
kangkaisen
reviewed
Sep 14, 2021
kangkaisen
reviewed
Sep 14, 2021
kangkaisen
reviewed
Sep 14, 2021
satanson
previously approved these changes
Sep 14, 2021
liuyehcf
previously approved these changes
Sep 14, 2021
satanson
previously approved these changes
Sep 15, 2021
liuyehcf
approved these changes
Sep 15, 2021
satanson
approved these changes
Sep 15, 2021
jaogoy
pushed a commit
that referenced
this pull request
Jul 14, 2022
* update docs including: other faqs CREATE TABLE ROUTINE LOAD * release 2 english docs configure a time zone synchronize data from mysql * Update Flink_cdc_load.md * Update Flink_cdc_load.md * Update Flink_cdc_load.md * fix url fix url * add and update docs add restore FEs update release note 2.2 * Update release-2.2.md * Update release-2.2.md FIX URL * Update Metadata_recovery.md MODIFY FORMAT
caneGuy
pushed a commit
to caneGuy/starrocks
that referenced
this pull request
Mar 28, 2023
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.
The transmission thread stores data through a queue and notifies the computing thread to grab the data. However, in pipeline, this step needs to be observed by the dispatch thread. Because computing thread summarizes multiple sorted data, the compute thread does not read the queue directly, it reads the data through an indirect minimum heap and constantly adjusts the minimum heap.
Computing thread works when cursor has datas or there is chunk in chunk_queue(need to grab), it Blocking in the opposite case.