hililiwei opened a new pull request, #6617: URL: https://github.com/apache/iceberg/pull/6617
## What is the purpose of the change Implement the syntax in the following documents: https://docs.google.com/document/d/1tbATFPrKF3vNlzkgZQdaW8CAJmbjvryfrlg6C2Ci_aA/edit Further split ref DDL into smaller PR. ### DDLs for Branch and Retention #### Create Branches ```sql ALTER TABLE tableName {CREATE | REPLACE} BRANCH branchName [AS OF {VERSION snapshotId}] [WITH SNAPSHOT RETENTION {[num_snapshots SNAPSHOTS] [interval {MONTHS | DAYS | HOURS | MINUTES}]}]}] [RETAIN interval {MONTHS | DAYS | HOURS | MINUTES}] ALTER TABLE prod.db.my_table CREATE BRANCH test_branch AS OF VERSION 100 WITH SNAPSHOT RETENTION 5 SNAPSHOTS 7 DAYS RETAIN 12 MONTHS ``` cc @jackye1995 @amogh-jahagirdar -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org