Skip to content
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

Add support for mutating an Iceberg branch #22030

Open
Tracked by #22025
tdcmeehan opened this issue Feb 27, 2024 · 0 comments
Open
Tracked by #22025

Add support for mutating an Iceberg branch #22030

tdcmeehan opened this issue Feb 27, 2024 · 0 comments

Comments

@tdcmeehan
Copy link
Contributor

tdcmeehan commented Feb 27, 2024

Iceberg supports mutations (upserts, deletes, inserts) on branches. We should allow Presto to specify a branch during mutations so that users can, e.g., perform experiments on data without having to copy the data elsewhere.

Part of #22025

Expected Behavior or Use Case

INSERT INTO iceberg.default.table AT BRANCH 'my-branch' VALUES ...

Presto Component, Service, or Connector

Presto Iceberg connector, and some changes to the parser and SPI to allow a branch to be specified.

Possible Implementation

Example Screenshots (if appropriate):

Context

Hive syntax: https://medium.com/@ayushtkn/apache-hive-4-x-with-iceberg-branches-tags-3d52293ac0bf
Spark syntax: https://iceberg.apache.org/docs/latest/branching/#audit-branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Prioritized Backlog
Development

No branches or pull requests

1 participant