This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 11a784fb76 [fix](nereids) bug: rf not generated #23948 (#24121)
11a784fb76 is described below

commit 11a784fb7620e8e98670dc79cd45b1d47508cbe2
Author: minghong <engle...@gmail.com>
AuthorDate: Fri Sep 8 23:10:02 2023 +0800

    [fix](nereids) bug: rf not generated #23948 (#24121)
---
 .../org/apache/doris/nereids/processor/post/PlanPostProcessors.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PlanPostProcessors.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PlanPostProcessors.java
index 1c927fb89d..787be605db 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PlanPostProcessors.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PlanPostProcessors.java
@@ -60,6 +60,8 @@ public class PlanPostProcessors {
         Builder<PlanPostProcessor> builder = ImmutableList.builder();
         builder.add(new PushdownFilterThroughProject());
         builder.add(new MergeProjectPostProcessor());
+        builder.add(new RecomputeLogicalPropertiesProcessor());
+        // after generate rf, DO NOT replace PLAN NODE
         builder.add(new FragmentProcessor());
         if 
(!cascadesContext.getConnectContext().getSessionVariable().getRuntimeFilterMode()
                         .toUpperCase().equals(TRuntimeFilterMode.OFF.name())) {
@@ -69,7 +71,6 @@ public class PlanPostProcessors {
             }
         }
         builder.add(new Validator());
-        builder.add(new RecomputeLogicalPropertiesProcessor());
         builder.add(new TopNScanOpt());
         return builder.build();
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to