zhangbutao commented on PR #4797:
URL: https://github.com/apache/hive/pull/4797#issuecomment-1759899256

   > what happens when a branch or tag name is a number?
   
   Good catch! 
   If we have a table which has a snapshotId 123456789, it will obviously 
succeed in this case:
   `ALTER TABLE  tblName EXECUTE SET_CURRENT_SNAPSHOT 123456789;`
   
   and will faill in this case, because the single quotes means that this is a 
snapshotRef(branch/tag), but the ref `123456789 ` dose not exist in fact:
   `ALTER TABLE  tblName EXECUTE SET_CURRENT_SNAPSHOT '123456789';`


-- 
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]

Reply via email to