aasha commented on a change in pull request #1422: URL: https://github.com/apache/hive/pull/1422#discussion_r479922802
########## File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java ########## @@ -542,6 +549,23 @@ private Long incrementalDump(Path dumpRoot, DumpMetaData dmd, Path cmRoot, Hive if (ev.getEventId() <= resumeFrom) { continue; } + + //disable materialized-view replication if not configured + if(!isMaterializedViewsReplEnabled()){ + String tblName = ev.getTableName(); + if(tblName != null) { + try { + HiveWrapper.Tuple<Table> tabletuple = new HiveWrapper(hiveDb, dbName).table(tblName, conf); Review comment: you can use hiveDb directly instead of using HiveWrapper ---------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org