starocean999 commented on code in PR #51734: URL: https://github.com/apache/doris/pull/51734#discussion_r2149289518
########## fe/fe-core/src/main/java/org/apache/doris/analysis/NativeInsertStmt.java: ########## @@ -771,7 +771,8 @@ private void analyzeSubquery(Analyzer analyzer, boolean skipCheck) throws UserEx for (SlotRef slot : columns) { smap.getLhs().add(slot); smap.getRhs() - .add(Load.getExprFromDesc(analyzer, slotToIndex.get(slot.getColumnName()), slot)); + .add(LoadExprTransformUtils.getExprFromDesc(analyzer, Review Comment: NativeInsertStmt is obsolete, and is replaced by InsertIntoTableCommand in nereids. Why we need change the old NativeInsertStmt? -- 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: commits-unsubscr...@doris.apache.org 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