[ https://issues.apache.org/jira/browse/HIVE-28607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayush Saxena resolved HIVE-28607. --------------------------------- Fix Version/s: 4.2.0 Assignee: Ayush Saxena Resolution: Fixed > 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 > Assignee: Ayush Saxena > Priority: Minor > Labels: pull-request-available > Fix For: 4.2.0 > > > 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)