[ https://issues.apache.org/jira/browse/HIVE-28607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986411#comment-17986411 ]
Ayush Saxena commented on HIVE-28607: ------------------------------------- Committed to master. Thanx everyone!!! > Syntax sugar for Iceberg Branching > ----------------------------------- > > Key: HIVE-28607 > URL: https://issues.apache.org/jira/browse/HIVE-28607 > Project: Hive > Issue Type: New Feature > Components: Hive > Affects Versions: 4.0.1 > Reporter: Attila Turoczy > Priority: Minor > Labels: pull-request-available > > In Hive we overuse the ALTER TABLE statement. Every special command starts > with ALTER TABLE. From useability perspective this could be challenging for a > regular. > For example: > h6. {color:#172b4d}Create branch:{color} > {code:java} > CREATE BRANCH audit_branch FROM audit;{code} > {color:#172b4d}From snapshot:{color} > {code:java} > CREATE BRANCH audit_branch FROM audit AS OF VERSION 1234;{code} > {color:#172b4d}** This could be complected.{color} > {color:#172b4d}Create tag:{color} > {code:java} > CREATE TAG historical_tag FROM audit.{code} > same as for AS OF > {{Drop branch:}} > {code:java} > DROP BRANCH audit_branch;{code} > {{Drop Tag:}} > {code:java} > DROP TAG audit_branch;{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)