You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/03/23 01:46:43 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #3169: [RoutineLoad] Fix bug that job will be paused when table is altering

morningman commented on a change in pull request #3169: [RoutineLoad] Fix bug that job will be paused when table is altering
URL: https://github.com/apache/incubator-doris/pull/3169#discussion_r396178904
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/load/Load.java
 ##########
 @@ -888,6 +888,10 @@ public static void initColumns(Table tbl, List<ImportColumnDesc> columnExprs,
             }
         }
 
+        // We make a copy of the columnExprs so that our subsequent changes
+        // to the columnExprs will not affect the original columnExprs.
+        List<ImportColumnDesc> copiedColumnExprs = Lists.newArrayList(columnExprs);
 
 Review comment:
   My bad, forgot to save the code...

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org