zhangbutao commented on code in PR #6088:
URL: https://github.com/apache/hive/pull/6088#discussion_r2616178952
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java:
##########
@@ -421,6 +421,33 @@ public static String charSetString(String charSetName,
String charSetString)
}
}
+ /**
+ *
+ * @param dbNameNode A root node that contains database fields
+ * @return Return a Pair object which includes catalogName and dbName
+ * @throws SemanticException
+ */
+ public static Pair<String, String> getCatDbNamePair(ASTNode dbNameNode)
throws SemanticException {
Review Comment:
I'm not entirely sure if this method will be used in SA in the future. Given
that it's currently only used in DB for DDL operations, I'll move this code to
DDLUtils.
--
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]