[
https://issues.apache.org/jira/browse/IMPALA-13361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17911266#comment-17911266
]
ASF subversion and git services commented on IMPALA-13361:
----------------------------------------------------------
Commit d23ba87d46f296795a9c97aaf0a485b6496d363b in impala's branch
refs/heads/master from Peter Rozsa
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=d23ba87d4 ]
IMPALA-13361: Add INSERT * and UPDATE SET * syntax for MERGE statement
This change adds INSERT * and UPDATE SET * language elements for
WHEN NOT MATCHED and WHEN MATCHED clauses. INSERT * enumerates all
source expressions from source table/subquery and analyzes the clause
similarly to the regular WHEN NOT MATCHED THEN INSERT case. UPDATE SET
* creates assignments for each target table column by enumerating the
table columns and assigning source expressions by index.
If the target column count and the source expression count mismatches or
the types mismatches both clauses report analysis errors.
Tests:
- parser tests added
- analyzer tests added
- E2E tests added
Change-Id: I31cb771f2355ba4acb0f3b9f570ec44fdececdf3
Reviewed-on: http://gerrit.cloudera.org:8080/22051
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> INSERT *, UPDATE * syntax for MERGE statement
> ---------------------------------------------
>
> Key: IMPALA-13361
> URL: https://issues.apache.org/jira/browse/IMPALA-13361
> Project: IMPALA
> Issue Type: Sub-task
> Reporter: Peter Rozsa
> Assignee: Peter Rozsa
> Priority: Major
> Labels: impala-iceberg
>
> Impala MERGE syntax should support UPDATE * syntax for WHEN MATCHED case and
> INSERT * syntax for WHEN NOT MATCHED case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]