imay commented on a change in pull request #3677: URL: https://github.com/apache/incubator-doris/pull/3677#discussion_r435660643
########## File path: fe/src/main/java/org/apache/doris/analysis/InsertStmt.java ########## @@ -453,6 +453,25 @@ private void analyzeSubquery(Analyzer analyzer) throws UserException { } } + Map<Integer, Integer> origColIdxsForMVCols = Maps.newHashMap(); Review comment: Comment about what does this code do ########## File path: fe/src/main/java/org/apache/doris/load/Load.java ########## @@ -1013,6 +1013,13 @@ public static void initColumns(Table tbl, List<ImportColumnDesc> columnExprs, slotDescByName.put(realColName, slotDesc); } } + //The extension column of the materialized view is added to the expression evaluation of load Review comment: ```suggestion // The extension column of the materialized view is added to the expression evaluation of load ``` ########## File path: fe/src/main/java/org/apache/doris/analysis/InsertStmt.java ########## @@ -453,6 +453,25 @@ private void analyzeSubquery(Analyzer analyzer) throws UserException { } } + Map<Integer, Integer> origColIdxsForMVCols = Maps.newHashMap(); Review comment: In general, use `to` in map's name. ```suggestion Map<Integer, Integer> origColIdx2MvColIdx = Maps.newHashMap(); ``` ---------------------------------------------------------------- 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: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org