zhangbutao commented on code in PR #5190:
URL: https://github.com/apache/hive/pull/5190#discussion_r1560465196
##########
parser/src/java/org/apache/hadoop/hive/ql/parse/AlterClauseParser.g:
##########
@@ -513,6 +514,13 @@ alterStatementSuffixRenameBranch
-> ^(TOK_ALTERTABLE_RENAME_BRANCH $sourceBranch $targetBranch)
;
+alterStatementSuffixReplaceBranch
+@init { gParent.pushMsg("alter table replace branch", state); }
+@after { gParent.popMsg(state); }
+ : KW_REPLACE KW_BRANCH sourceBranch=Identifier KW_WITH KW_SNAPSHOT?
(targetBranch=(Identifier | Number))
Review Comment:
https://github.com/apache/iceberg/pull/6638/files#diff-7bded55cc5d4893d2eb9d899ac095939e7b47814374d21cff159cb7ded9a503e
Check spark implementation, looks like` spark replace `has more properties,
e.g. retain, retention..
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]