Skip to content

[cherry-pick](branch-2.1) Improve local shuffle strategy#40030

Merged
Gabriel39 merged 4 commits intoapache:branch-2.1from
Gabriel39:pick_0828
Aug 29, 2024
Merged

[cherry-pick](branch-2.1) Improve local shuffle strategy#40030
Gabriel39 merged 4 commits intoapache:branch-2.1from
Gabriel39:pick_0828

Conversation

@Gabriel39
Copy link
Copy Markdown
Contributor

Proposed changes

pick #34122 #35454 #35716 #37195

apache#35454)

…d data distribution

This is a follow-up for apache#34122 .
Currently, we use bucket shuffle local exchange to re-distribution data
before a 'colocated' operator. But if no colocate/bucket-shuffle join
followed, bucket-shuffle for this operator is not always suitable
because the parallism will be restricted by the account of buckets
Now we use ``` DataGenOperator (num_instance=1) ->
ResultSinkOperator(num_instance=1) ``` for loading/query tasks.

This PR use a local shuffle to improve its parallelism and the plan is
``` DataGenOperator (num_instance=1) -> LocalExchangeSink (num_instance=1) -> LocalExchangeSource (num_instance=(cores / 2) -> ResultSinkOperator(num_instance=(cores / 2)) ```
@doris-robot
Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Gabriel39
Copy link
Copy Markdown
Contributor Author

run buildall

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@Gabriel39 Gabriel39 merged commit 7155711 into apache:branch-2.1 Aug 29, 2024
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.

2 participants