[ 
https://issues.apache.org/jira/browse/HIVE-28275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ayush Saxena resolved HIVE-28275.
---------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

> 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
>             Fix For: 4.1.0
>
>
> 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