deniskuzZ commented on code in PR #2993:
URL: https://github.com/apache/hive/pull/2993#discussion_r848134853


##########
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadTable.java:
##########
@@ -159,9 +163,9 @@ public TaskTracker tasks(boolean isBootstrapDuringInc) 
throws Exception {
     return tracker;
   }
 
-  private ReplLoadOpType getLoadTableType(Table table, boolean 
isBootstrapDuringInc)
+  private ReplLoadOpType getLoadTableType(Table table, boolean 
isBootstrapDuringInc, boolean isSecondFailover)
           throws InvalidOperationException, HiveException {
-    if (table == null) {
+    if (table == null || isSecondFailover) {

Review Comment:
   Won't it be confusing as we actually rewrite the metadata, but not create a 
brand new table? Maybe some comment here would be helpfull.



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