[multistage] default enable dynamic broadcast for SEMI#11696
Merged
walterddr merged 2 commits intoapache:masterfrom Sep 27, 2023
Merged
[multistage] default enable dynamic broadcast for SEMI#11696walterddr merged 2 commits intoapache:masterfrom
walterddr merged 2 commits intoapache:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #11696 +/- ##
============================================
- Coverage 63.10% 63.05% -0.05%
- Complexity 1120 1121 +1
============================================
Files 2343 2343
Lines 125672 125672
Branches 19317 19317
============================================
- Hits 79309 79248 -61
- Misses 40705 40773 +68
+ Partials 5658 5651 -7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| && PinotRuleUtils.noExchangeInSubtree(left.getInput(0)) | ||
| && (join.getJoinType() == JoinRelType.SEMI && joinInfo.nonEquiConditions.isEmpty()); | ||
| // default enable dynamic broadcast for SEMI join unless other join strategy were specified | ||
| && (!explicitOtherStrategy && join.getJoinType() == JoinRelType.SEMI && joinInfo.nonEquiConditions.isEmpty()); |
Contributor
There was a problem hiding this comment.
Is dynamic broadcast useful for non-SEMI join? Currently it won't be applied even if we explicitly hint about it
Contributor
Author
There was a problem hiding this comment.
it can be in the future. currently it will only apply to SEMI join
Jackie-Jiang
approved these changes
Sep 27, 2023
This file contains hidden or 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
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.
there's no reason not to enable dynamic broadcast for SEMI joins at the current status of multi-stage,
except for the situation where the right table is so large and the left table is not partitioned. in which case we have a fallback option to enable hash table join
joinOptions(join_strategy = 'hash_table')