yujun777 commented on code in PR #65468:
URL: https://github.com/apache/doris/pull/65468#discussion_r3567905083


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java:
##########
@@ -892,14 +894,6 @@ private static List<RewriteJob> getWholeTreeRewriteJobs(
                 ImmutableSet.of(LogicalCTEAnchor.class),
                 () -> {
                     List<RewriteJob> rewriteJobs = 
Lists.newArrayListWithExpectedSize(300);
-                    if (Config.enable_table_stream) {

Review Comment:
   Also, a rewrite rule first performs pattern matching and only executes its 
rewrite function after the pattern matches. If no LogicalOlapTableStreamScan 
exists, this rule is not matched by any plan node and its rewrite logic is 
never executed.



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