-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
planner: some cleanup #11164
planner: some cleanup #11164
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11164 +/- ##
=========================================
Coverage 81.463% 81.463%
=========================================
Files 423 423
Lines 91002 91002
=========================================
Hits 74133 74133
Misses 11523 11523
Partials 5346 5346 |
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.
LGTM
@@ -60,16 +59,16 @@ func (s *partitionProcessor) rewriteDataSource(lp LogicalPlan) (LogicalPlan, err | |||
// Union->(UnionScan->DataSource1), (UnionScan->DataSource2) | |||
children := make([]LogicalPlan, 0, len(ua.Children())) | |||
for _, child := range ua.Children() { | |||
us := LogicalUnionScan{}.Init(ua.ctx) | |||
us := LogicalUnionScan{conditions: p.conditions}.Init(ua.ctx) |
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.
Is this line a bugfix? can we figure out a test case to cover it?
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.
Oh, another separate PR #11187 is working on this.
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.
merged master branch
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.
LGTM
What problem does this PR solve?
Three cleanup.
What is changed and how it works?
Check List
Tests