lexluo09 opened a new issue, #6902:
URL: https://github.com/apache/iceberg/issues/6902
### Query engine
Spark
### Question
Does spark-iceberg support create or drop tag/branch
1、create tag
ALTER TABLE demo.nyc.taxis
CREATE TAG historical_annual_snapshot
AS OF VERSION 100
RETAIN 12 MONTHS
2、create branch
ALTER TABLE demo.nyc.taxis
CREATE BRANCH test_branch AS OF VERSION 100 WITH SNAPSHOT RETENTION 5
SNAPSHOTS 7 DAYS
RETAIN 12 MONTHS
3、drop tag/branch
ALTER TABLE table DROP {BRANCH | TAG} reference
Does spark-iceberg support create or drop tag/branch
1、create tag
ALTER TABLE demo.nyc.taxis
CREATE TAG historical_annual_snapshot
AS OF VERSION 100
RETAIN 12 MONTHS
2、create branch
ALTER TABLE demo.nyc.taxis
CREATE BRANCH test_branch AS OF VERSION 100 WITH SNAPSHOT RETENTION 5
SNAPSHOTS 7 DAYS
RETAIN 12 MONTHS
3、drop tag/branch
ALTER TABLE table DROP {BRANCH | TAG} reference
My operation failed !

4、
CALL demo.system.create_tag(table => 'demo.nyc.taxis', snapshot_id =>
7406989859988178505, tag_name => 'testTag');

--
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]