-
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: fix assertion failure on LogicalJoin.EqualConditions #9066
planner: fix assertion failure on LogicalJoin.EqualConditions #9066
Conversation
/run-all-tests |
/run-unit-test |
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
Codecov Report
@@ Coverage Diff @@
## master #9066 +/- ##
==========================================
+ Coverage 67.26% 67.28% +0.01%
==========================================
Files 371 371
Lines 77138 77156 +18
==========================================
+ Hits 51889 51914 +25
+ Misses 20617 20614 -3
+ Partials 4632 4628 -4
Continue to review full report at Codecov.
|
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?
At line 131, we assume that the left and right parameter of
=
is a column afterexpression.ColumnSubstitute()
, which is incorrect.What is changed and how it works?
Remove that assumption, add a new function
expression.CoveredBySchema()
to check whether all the columns used by an expression come from that schema.Check List
Tests
Code changes
Related changes