[ 
https://issues.apache.org/jira/browse/HIVE-28275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17860118#comment-17860118
 ] 

Ayush Saxena commented on HIVE-28275:
-------------------------------------

Committed to master.
Thanx [~simhadri-g] for the review!!!

> Iceberg: Add support for 'If Not Exists" and 'or Replace' for Create Tag 
> -------------------------------------------------------------------------
>
>                 Key: HIVE-28275
>                 URL: https://issues.apache.org/jira/browse/HIVE-28275
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: pull-request-available
>
> Add support for If not exists and Or Replace while creating Tags
> {noformat}
> -- CREATE historical-tag at current snapshot with default retention if it 
> doesn't exist.
> ALTER TABLE prod.db.sample CREATE TAG IF NOT EXISTS `historical-tag`
> -- CREATE historical-tag at current snapshot with default retention or 
> REPLACE it if it already exists.
> ALTER TABLE prod.db.sample CREATE OR REPLACE TAG `historical-tag`{noformat}
> Like Spark:
> https://iceberg.apache.org/docs/1.5.1/spark-ddl/#alter-table-create-branch



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to