saihemanth-cloudera commented on code in PR #4316:
URL: https://github.com/apache/hive/pull/4316#discussion_r1192626470


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java:
##########
@@ -2276,6 +2276,9 @@ private void create_table_core(final RawStore ms, final 
CreateTableRequest req)
           + " already exists");
     }
 
+    tbl.setDbName(tbl.getDbName().trim());

Review Comment:
   The HiveMetaStore.Table.Java is a generated thrift class. I'm not sure how 
to implement the trim function in the generated classes. But this is actually a 
valid suggestion. I'll try and see If I can implement your suggestion. Thanks.



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