-
Notifications
You must be signed in to change notification settings - Fork 3.9k
exec: fix a bug with ordinality #39302
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
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.
Reviewable status:
complete! 0 of 0 LGTMs obtained (waiting on @jordanlewis, @rafiss, and @yuzefovich)
pkg/sql/logictest/testdata/logic_test/ordinality, line 79 at r1 (raw file):
# indices is done correctly. statement ok SET vectorize=experimental_on
Adding these everywhere will quickly become unmaintainable. Can we add a vec
config to this file instead?
Ordinality operator was assuming that it's output column is always the last one which is incorrect when other column-appending operators are present. Release note: None
d863a85
to
5e224ec
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.
Reviewable status:
complete! 0 of 0 LGTMs obtained (waiting on @jordanlewis and @rafiss)
pkg/sql/logictest/testdata/logic_test/ordinality, line 79 at r1 (raw file):
Previously, jordanlewis (Jordan Lewis) wrote…
Adding these everywhere will quickly become unmaintainable. Can we add a
vec
config to this file instead?
Good point, done.
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.
thanks for finding this!
Reviewed 1 of 2 files at r1, 1 of 1 files at r2.
Reviewable status:complete! 0 of 0 LGTMs obtained (waiting on @jordanlewis)
Np! TFTRs! bors r+ |
39302: exec: fix a bug with ordinality r=yuzefovich a=yuzefovich Ordinality operator was assuming that it's output column is always the last one which is incorrect when other column-appending operators are present. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
Build succeeded |
Ordinality operator was assuming that it's output column is always
the last one which is incorrect when other column-appending operators
are present.
Release note: None