difin commented on code in PR #4319:
URL: https://github.com/apache/hive/pull/4319#discussion_r1196892974


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java:
##########
@@ -1276,7 +1277,7 @@ public Table getTable(String catName, String dbName, 
String tblName, String vali
 
   @Override public Table getTable(String catName, String dbName, String 
tblName, String validWriteIds, long tableId)
       throws MetaException {
-    catName = normalizeIdentifier(catName);
+    catName = normalizeIdentifier(catName != null ? catName : 
getDefaultCatalog(conf));

Review Comment:
   Done



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