Skip to content
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

[feat](Nereids): Reject Commutativity Swap for Nested Loop Joins Affecting Parallelism #34639 #34996

Merged
merged 1 commit into from
May 21, 2024

Conversation

keanji-x
Copy link
Contributor

Proposed changes

#34639

Further comments

If this is a relatively large or complex change, kick off the discussion at [email protected] 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.

@github-actions github-actions bot added area/nereids area/planner Issues or PRs related to the query planner labels May 17, 2024
@keanji-x
Copy link
Contributor Author

run buildall

1 similar comment
@morrySnow
Copy link
Contributor

run buildall

@keanji-x
Copy link
Contributor Author

run buildall

@morrySnow morrySnow merged commit 9e386c0 into apache:branch-2.0 May 21, 2024
23 of 24 checks passed
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
area/nereids area/planner Issues or PRs related to the query planner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants