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

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

> Iceberg: Add support for 'If Not Exists' and 'or Replace' for Create Branch
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-28274
>                 URL: https://issues.apache.org/jira/browse/HIVE-28274
>             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Ā 
> {noformat}
> -- CREATE audit-branch at current snapshot with default retention if it 
> doesn't exist.
> ALTER TABLE prod.db.sample CREATE BRANCH IF NOT EXISTS `audit-branch`
> -- CREATE audit-branch at current snapshot with default retention or REPLACE 
> it if it already exists.
> ALTER TABLE prod.db.sample CREATE OR REPLACE BRANCH `audit-branch`{noformat}
> Like Spark:
> https://iceberg.apache.org/docs/1.5.1/spark-ddl/#branching-and-tagging-ddl



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

Reply via email to