ayushtkn commented on code in PR #5068:
URL: https://github.com/apache/hive/pull/5068#discussion_r1481372311


##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -1137,7 +1137,7 @@ private String processTable(QB qb, ASTNode tabref) throws 
SemanticException {
 
     ASTNode tableTree = (ASTNode) (tabref.getChild(0));
 
-    String tabIdName = getUnescapedName(tableTree).toLowerCase();
+    String tabIdName = 
HiveUtils.getLowerCaseTableName(getUnescapedName(tableTree));

Review Comment:
   I am not very sure, that code is pretty old, so I preserved the old 
behaviour, it is used as a key in a map {{aliasToCTEs}}, not sure if it can 
break or lead to some perf penalties, if the query has same table with 
different cases or so....



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