[ 
https://issues.apache.org/jira/browse/HIVE-26285?focusedWorklogId=779442&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-779442
 ]

ASF GitHub Bot logged work on HIVE-26285:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Jun/22 11:59
            Start Date: 08/Jun/22 11:59
    Worklog Time Spent: 10m 
      Work Description: pvary commented on code in PR #3346:
URL: https://github.com/apache/hive/pull/3346#discussion_r892269558


##########
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java:
##########
@@ -703,6 +705,7 @@ private void createBuilderTask(List<Task<?>> rootTasks) {
   private int executeIncrementalLoad(long loadStartTime) throws Exception {
     // If replication policy is changed between previous and current repl 
load, then drop the tables
     // that are excluded in the new replication policy.
+    this.childTasks = (this.childTasks == null) ? new ArrayList<>() : 
this.childTasks;

Review Comment:
   How much of this refactor needed for the specific change?
   We might want to do it in a separate PR so we can backport the fix without 
the conflicts generated by the refactor when needed





Issue Time Tracking
-------------------

    Worklog Id:     (was: 779442)
    Time Spent: 40m  (was: 0.5h)

> Overwrite database metadata on original source in optimised failover.
> ---------------------------------------------------------------------
>
>                 Key: HIVE-26285
>                 URL: https://issues.apache.org/jira/browse/HIVE-26285
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Haymant Mangla
>            Assignee: Haymant Mangla
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to