TsukiokaKogane commented on code in PR #64776:
URL: https://github.com/apache/doris/pull/64776#discussion_r3510317946


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/InsertIntoTableCommand.java:
##########
@@ -297,45 +287,12 @@ public AbstractInsertExecutor initPlan(ConnectContext 
ctx, StmtExecutor stmtExec
                 return insertExecutor;
             }
 
-            List<ScanNode> tableStreamScanNodes =
-                    buildResult.planner.getScanNodes().stream()
-                            .filter((s -> (s.getTableIf() instanceof 
OlapTableStreamWrapper
-                                    || s instanceof OlapScanNode && 
((OlapScanNode) s).isIncrementalScan())))
-                            .collect(Collectors.toList());
-
-            if (!tableStreamScanNodes.isEmpty()) {
+            List<TableStreamUpdateInfo> infos = 
StreamConsumptionInfoExtractor.extract(analyzedPlan);

Review Comment:
   it doesn't matter



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

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to