-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[multistage] add rel trait rule for individual hep optimization #11831
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
[multistage] add rel trait rule for individual hep optimization #11831
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- this rule should ideally propagate all RelDistribution trait to all RelNodes.
- when doing stage and worker/mailbox assignment, one can be sure to use the input of an LogicalExchange & the input to the LogicalExchange to determine whether the exchange can be a passthrough (fixing issues in [draft][multistage] add exchange removal rule #11794)
Codecov Report
@@ Coverage Diff @@
## master #11831 +/- ##
============================================
+ Coverage 61.40% 61.43% +0.02%
- Complexity 1145 1169 +24
============================================
Files 2378 2380 +2
Lines 128851 128941 +90
Branches 19926 19942 +16
============================================
+ Hits 79127 79215 +88
+ Misses 44002 43992 -10
- Partials 5722 5734 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 12 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
c3d92b7 to
50f7ddb
Compare
|
Note to self:
otherwise the exchange elimination is done with not enough info and can cause join to not function properly |
50f7ddb to
c4c4ce5
Compare
connected with QueryRunner refactor and simplify leaf stage compilation fix linter and further refactoring simplified visitor and context class, add javadoc fix server plan request gen issues
cced569 to
a6c1e0d
Compare
a6c1e0d to
38f00e6
Compare
[stash] add other nodes [stash] adding elimination rules [stash] fix RelOptUtil usage by utilizing direct method in RelNode [stash] enable exchange elimination rule as well [stash] adjust tests [stash] adding table scan special handling too [bugfix] change mapping for join to be correct on left only [stash] fix build fix test
38f00e6 to
e9c5d90
Compare
|
@walterddr : Is this ready for review? |
|
not yet @ankitsultana .we actually made some slight changes so that this PR doesn't depending on the other 2 PRs. marking it back to draft |
|
closing in favor of #11976 |
Allow propagation of partition distribution trait info across the tree to be used during Physical Planning phase.
This can be used to
Follow up