apache / apache/hudi

Support BEGIN...END SQL syntax for multi-table transaction

Open
#16,199 0 comments 0 reactions 1 assignee Assigned to @nsivabalan View on GitHub
from-jira priority:high type:devtask
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 4h
Merged PRs (30d)
112

Description

Need to add this grammar. Spark doesn't natively support it.
{code:java}
BEGIN
INSERT INTO $table1 VALUES (1, 'a1', 10, 1000);
UPDATE TABLE $table2 SET name = 'a2' where id = 1;
END {code}

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-6749
- Type: Task
- Epic: https://issues.apache.org/jira/browse/HUDI-6709
- Fix version(s):
- 1.1.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.