Gabriel39 commented on code in PR #12578: URL: https://github.com/apache/doris/pull/12578#discussion_r970254304
########## fe/fe-core/src/main/java/org/apache/doris/planner/StreamLoadPlanner.java: ########## @@ -138,20 +141,22 @@ public TExecPlanFragmentParams plan(TUniqueId loadId) throws UserException { slotDesc.setColumn(col); slotDesc.setIsNullable(col.isAllowNull()); - SlotDescriptor scanSlotDesc = descTable.addSlotDescriptor(scanTupleDesc); - scanSlotDesc.setIsMaterialized(true); - scanSlotDesc.setColumn(col); - scanSlotDesc.setIsNullable(col.isAllowNull()); - for (ImportColumnDesc importColumnDesc : taskInfo.getColumnExprDescs().descs) { - try { - if (!importColumnDesc.isColumn() && importColumnDesc.getColumnName() != null - && importColumnDesc.getColumnName().equals(col.getName())) { - scanSlotDesc.setIsNullable(importColumnDesc.getExpr().isNullable()); - break; + if (Config.enable_vectorized_load) { Review Comment: Use `VectorizedUtil.isVectorized()` -- 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