[ https://issues.apache.org/jira/browse/HIVE-27234?focusedWorklogId=861047&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-861047 ]
ASF GitHub Bot logged work on HIVE-27234: ----------------------------------------- Author: ASF GitHub Bot Created on: 08/May/23 16:11 Start Date: 08/May/23 16:11 Worklog Time Spent: 10m Work Description: deniskuzZ commented on code in PR #4216: URL: https://github.com/apache/hive/pull/4216#discussion_r1187626822 ########## ql/src/java/org/apache/hadoop/hive/ql/parse/AlterTableCreateBranchSpec.java: ########## @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.ql.parse; + +import com.google.common.base.MoreObjects; + +public class AlterTableCreateBranchSpec { Review Comment: I think so, ExecuteOperationType was extended with those 3 operations: ```` ROLLBACK, EXPIRE_SNAPSHOT, SET_CURRENT_SNAPSHOT ```` note, if you think that create/drop branch doesn't semantically fit this design or complicates it, feel free to create a a new abstraction Issue Time Tracking ------------------- Worklog Id: (was: 861047) Time Spent: 7h 50m (was: 7h 40m) > Iceberg: CREATE BRANCH SQL implementation > ------------------------------------------ > > Key: HIVE-27234 > URL: https://issues.apache.org/jira/browse/HIVE-27234 > Project: Hive > Issue Type: Sub-task > Components: Iceberg integration > Reporter: zhangbutao > Assignee: zhangbutao > Priority: Major > Labels: pull-request-available > Time Spent: 7h 50m > Remaining Estimate: 0h > > Maybe we can follow spark sql about branch ddl implementation > [https://github.com/apache/iceberg/pull/6617] -- This message was sent by Atlassian Jira (v8.20.10#820010)