-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
exec: bail out on mixed type expressions #38816
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.
Reviewed 2 of 2 files at r1.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @jordanlewis and @solongordon)
pkg/sql/logictest/testdata/logic_test/vectorize, line 410 at r1 (raw file):
0.5 # Test mixed types comparison. (Should also fail back.)
Empty comment was: "[nit]: |
Is it a question of templating mixed type projection/selection operators? |
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 it a question of templating mixed type projection/selection operators?
Yes. Or perhaps we could support many of these cases by adding cast operators? In either case, it seems to me we can punt on this for 19.2.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @jordanlewis and @yuzefovich)
pkg/sql/logictest/testdata/logic_test/vectorize, line 410 at r1 (raw file):
Previously, yuzefovich wrote…
Done.
Since our vectorized projection and selection operators currently only handle homogeneous types, I added logic to the planner which detects mixed types and errors out. Fixes cockroachdb#38798 Release note: None
3987eac
to
908fe7b
Compare
bors r+ |
38816: exec: bail out on mixed type expressions r=solongordon a=solongordon Since our vectorized projection and selection operators currently only handle homogeneous types, I added logic to the planner which detects mixed types and errors out. Fixes #38798 Release note: None Co-authored-by: Solon Gordon <solon@cockroachlabs.com>
Build succeeded |
Since our vectorized projection and selection operators currently only
handle homogeneous types, I added logic to the planner which detects
mixed types and errors out.
Fixes #38798
Release note: None