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

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


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 2358dc44031 [fix](nereids) Create Runtime filter even if equal.right 
is not in aliasTransferMap (branch-2.1) (#46407)
2358dc44031 is described below

commit 2358dc440311f4a9b110a0e42c333593138314f3
Author: minghong <zhoumingh...@selectdb.com>
AuthorDate: Sat Jan 4 11:54:08 2025 +0800

    [fix](nereids) Create Runtime filter even if equal.right is not in 
aliasTransferMap (branch-2.1) (#46407)
    
    ### What problem does this PR solve?
    
    pick #46406
    Related PR: #40815
---
 .../apache/doris/nereids/processor/post/RuntimeFilterGenerator.java  | 5 -----
 1 file changed, 5 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/RuntimeFilterGenerator.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/RuntimeFilterGenerator.java
index 1c6f5651894..57c322d030f 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/RuntimeFilterGenerator.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/RuntimeFilterGenerator.java
@@ -274,11 +274,6 @@ public class RuntimeFilterGenerator extends 
PlanPostProcessor {
                     continue;
                 }
                 long buildSideNdv = getBuildSideNdv(join, equalTo);
-                Pair<PhysicalRelation, Slot> pair = 
ctx.getAliasTransferMap().get(equalTo.right());
-                // CteConsumer is not allowed to generate RF in order to avoid 
RF cycle.
-                if (pair == null) {
-                    continue;
-                }
                 if (equalTo.left().getInputSlots().size() == 1) {
                     RuntimeFilterPushDownVisitor.PushDownContext 
pushDownContext =
                             
RuntimeFilterPushDownVisitor.PushDownContext.createPushDownContextForHashJoin(


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

Reply via email to