[
https://issues.apache.org/jira/browse/CALCITE-6970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17947824#comment-17947824
]
juntaozhang commented on CALCITE-6970:
--------------------------------------
hi [~julianhyde]
Can you help reivew the PR?
Hope to receive your guidance.:)
> In UPDATE, allow SET to assign to multiple columns
> --------------------------------------------------
>
> Key: CALCITE-6970
> URL: https://issues.apache.org/jira/browse/CALCITE-6970
> Project: Calcite
> Issue Type: New Feature
> Components: core
> Affects Versions: 1.39.0
> Reporter: Wei.Zhou
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2025-04-18-18-36-01-732.png
>
>
> In UPDATE, it should support SET to assign to multiple columns with a source
> select like bellow:
> UPDATE employees
> SET (salary, bonus) =
> ( SELECT salary * 1.1 as salary, bonus + 1000 as bonus
> FROM employee_changes
> WHERE employees.id = employee_changes.id )
> WHERE department = 'Sales'
> This sql is supported by oracle .
--
This message was sent by Atlassian Jira
(v8.20.10#820010)