maheshk114 commented on a change in pull request #900: HIVE-22860 Support 
metadata only replication for external tables
URL: https://github.com/apache/hive/pull/900#discussion_r378096604
 
 

 ##########
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CreateTableHandler.java
 ##########
 @@ -66,7 +67,10 @@ public void handle(Context withinContext) throws Exception {
     // If we are not dumping data about a table, we shouldn't be dumping basic 
statistics
     // as well, since that won't be accurate. So reset them to what they would 
look like for an
     // empty table.
-    if 
(withinContext.hiveConf.getBoolVar(HiveConf.ConfVars.REPL_DUMP_METADATA_ONLY)) {
+    if 
(withinContext.hiveConf.getBoolVar(HiveConf.ConfVars.REPL_DUMP_METADATA_ONLY) ||
 
 Review comment:
   This configs should be from source ..target side ..this may not be set. 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to