deniskuzZ commented on code in PR #4482:
URL: https://github.com/apache/hive/pull/4482#discussion_r1268195686
##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveUtils.java:
##########
@@ -443,11 +444,16 @@ public static Path getDumpPath(Path root, String dbName,
String tableName) {
return new Path(root, dbName);
}
- public static String getTableBranch(String branchName) {
- Matcher branch = BRANCH.matcher(branchName);
- if (branch.matches()) {
- return branch.group(1);
+ public static String getTableSnapshotRef(String refName) {
+ Matcher ref = SNAPSHOT_REF.matcher(refName);
+ if (ref.matches()) {
+ return ref.group(1);
}
return null;
}
+
+ public static Boolean checkTableTag(String refName) {
Review Comment:
minor: isTableTag?
--
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]