kgyrtkirk commented on a change in pull request #550: HIVE-21198 Introduce a
database object reference class
URL: https://github.com/apache/hive/pull/550#discussion_r345391449
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java
##########
@@ -394,48 +394,53 @@ public static String getUnescapedName(ASTNode
tableOrColumnNode, String currentD
if (tokenType == HiveParser.TOK_TABNAME) {
// table node
Map.Entry<String,String> dbTablePair =
getDbTableNamePair(tableOrColumnNode);
- String dbName = dbTablePair.getKey();
- String tableName = dbTablePair.getValue();
- if (dbName != null){
- return dbName + "." + tableName;
Review comment:
it's good to see this going away! :)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]