-
Notifications
You must be signed in to change notification settings - Fork 3.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
opt: fix casting bug in lookup joiner #38947
Conversation
---- | ||
|
||
# Projection of constant columns work on boolean expressions. | ||
# Regression test for a test in opt-private-tests |
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.
Please remove this line, we shouldn't have this kind of reference here. It's not important how we found the bug anyway.
This change fixes a bug where the lookup joiner assumes any constant value that it needs to create a projection for (because there is a column quality with it) is of the (ConstExpr) type. Regression test added. Release note: None
10a9221
to
fe8daf6
Compare
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.
bors r+
Reviewable status:
complete! 0 of 0 LGTMs obtained (waiting on @RaduBerinde)
pkg/sql/opt/xform/testdata/rules/join, line 1463 at r1 (raw file):
Previously, RaduBerinde wrote…
Please remove this line, we shouldn't have this kind of reference here. It's not important how we found the bug anyway.
Done.
38947: opt: fix casting bug in lookup joiner r=ridwanmsharif a=ridwanmsharif This change fixes a bug where the lookup joiner assumes any constant value that it needs to create a projection for (because there is a column quality with it) is of the (ConstExpr) type. Regression test added. Release note: None Co-authored-by: Ridwan Sharif <[email protected]>
Build succeeded |
This change fixes a bug where the lookup joiner assumes
any constant value that it needs to create a projection
for (because there is a column quality with it) is of the
(ConstExpr) type. Regression test added.
Release note: None