Skip to content

Conversation

@keanji-x
Copy link
Contributor

@keanji-x keanji-x commented May 10, 2024

Proposed changes

This PR introduces a safeguard to prevent commutativity swaps in nested loop joins that would convert a parallelizable join into a non-parallelizable one, thereby preserving optimal query execution efficiency. By adding a function that assesses the impact of such swaps on parallelism, the system automatically rejects changes that would hinder performance, ensuring that joins can continue to be executed in parallel to fully utilize system resources and maintain high operational throughput.

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@doris-robot
Copy link

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.

@keanji-x
Copy link
Contributor Author

run buildall

@xiaokang xiaokang added usercase Important user case type label dev/2.0.x labels May 10, 2024
@keanji-x
Copy link
Contributor Author

run buildall

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label May 13, 2024
@jackwener jackwener merged commit 141c333 into apache:master May 13, 2024
nextdreamblue pushed a commit to nextdreamblue/doris that referenced this pull request May 13, 2024
keanji-x added a commit to keanji-x/doris that referenced this pull request May 14, 2024
ByteYue pushed a commit to ByteYue/doris that referenced this pull request May 15, 2024
yiguolei pushed a commit that referenced this pull request May 15, 2024
keanji-x added a commit to keanji-x/doris that referenced this pull request May 17, 2024
keanji-x added a commit to keanji-x/doris that referenced this pull request May 17, 2024
keanji-x added a commit to keanji-x/doris that referenced this pull request May 17, 2024
keanji-x added a commit to keanji-x/doris that referenced this pull request May 20, 2024
morrySnow pushed a commit that referenced this pull request May 21, 2024
…ting Parallelism (#34639) (#34996)

pick from master #34639

This PR introduces a safeguard to prevent commutativity swaps in nested loop joins that would convert a parallelizable join into a non-parallelizable one, thereby preserving optimal query execution efficiency. By adding a function that assesses the impact of such swaps on parallelism, the system automatically rejects changes that would hinder performance, ensuring that joins can continue to be executed in parallel to fully utilize system resources and maintain high operational throughput.
mongo360 pushed a commit to mongo360/doris that referenced this pull request Aug 16, 2024
…ting Parallelism (apache#34639) (apache#34996)

pick from master apache#34639

This PR introduces a safeguard to prevent commutativity swaps in nested loop joins that would convert a parallelizable join into a non-parallelizable one, thereby preserving optimal query execution efficiency. By adding a function that assesses the impact of such swaps on parallelism, the system automatically rejects changes that would hinder performance, ensuring that joins can continue to be executed in parallel to fully utilize system resources and maintain high operational throughput.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.0.11-merged dev/2.1.3-merged dev/3.0.0-merged reviewed usercase Important user case type label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants