-
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
opt/exec: add passthrough cols to DELETE USING result cols in explain #105932
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, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @DrewKimball and @michae2)
-- commits
line 9 at r1:
nit: s/sql change/bug fix/
. Also perhaps mention that the bug was introduced in 23.1.0.
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, all commit messages.
Reviewable status: complete! 2 of 0 LGTMs obtained (waiting on @michae2)
Now that we support `DELETE USING`, delete nodes can have passthrough columns. Add these to the result columns used by `EXPLAIN (TYPES)`. Fixes: cockroachdb#105803 Release note (bug fix): Fix an internal error when using `EXPLAIN (TYPES)` on a `DELETE FROM ... USING ... RETURNING` statement which was introduced in v23.1.0.
df83ab2
to
5960881
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.
TFTRs!
bors r=yuzefovich,DrewKimball
Reviewable status: complete! 0 of 0 LGTMs obtained (and 2 stale) (waiting on @yuzefovich)
Previously, yuzefovich (Yahor Yuzefovich) wrote…
nit:
s/sql change/bug fix/
. Also perhaps mention that the bug was introduced in 23.1.0.
Good point! Done.
Build succeeded: |
Now that we support
DELETE USING
, delete nodes can have passthrough columns. Add these to the result columns used byEXPLAIN (TYPES)
.Fixes: #105803
Release note (sql change): Fix an internal error when using
EXPLAIN (TYPES)
on aDELETE FROM ... USING ... RETURNING
statement.