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

 ##########
 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:
   seems that `copiedColumnExprs` is not used by anyone

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to