maheshk114 commented on a change in pull request #617: HIVE-21679: Replicating
a CTAS event creating an MM table fails.
URL: https://github.com/apache/hive/pull/617#discussion_r281609289
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/UpdatedMetaDataTracker.java
##########
@@ -110,6 +110,10 @@ public void set(String replState, String dbName, String
tableName, Map <String,
if (dbName == null) {
throw new SemanticException("db name can not be null");
}
+ if (dbName.contains(".") || ((tableName != null) &&
tableName.contains("."))) {
+ throw new SemanticException("Invalid DB or table name." + dbName + "::"
Review comment:
"::" can be printed if table name is not null
----------------------------------------------------------------
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]