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


##########
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:
   The rule already matches only LogicalOlapTableStreamScan. If such a node 
exists, it should always be normalized regardless of 
Config.enable_table_stream. The config controls whether stream tables can be 
created, but it is not a condition for this normalization rule, so the config 
check is not needed here.



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