-
Notifications
You must be signed in to change notification settings - Fork 1.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
Multiple assignment for UPDATE SET
#7968
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.
Thanks for the PR, the changes here look great, I just had some requests for more tests and improving some error messages.
src/parser/transform/expression/transform_multi_assign_reference.cpp
Outdated
Show resolved
Hide resolved
src/parser/transform/expression/transform_multi_assign_reference.cpp
Outdated
Show resolved
Hide resolved
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 the changes!
Thanks! Looks great! |
Solves #7069
Implemented Transform for the
T_MultiAssignRef
expression type.A ParserException is thrown when the left side of the assignment doesn't have an equal amount of columns as the right side of the assignent, i.e:
UPDATE tbl SET (a, b, c) = (1, 2);