hililiwei opened a new pull request, #5209: URL: https://github.com/apache/iceberg/pull/5209
Co-authored-by: xuwei <[email protected]> Co-authored-by: chidayong <[email protected]> ## What is the purpose of the change Implement the syntax in the following documents: https://docs.google.com/document/d/1Nf8c16R2hj4lSc-4sQg4oiUUV_F4XqZKth1woEo6TN8/edit ```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 ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
