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

morrysnow 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 ba82ca0f16d [fix](nereids) set mark join reference for bitmap-in-apply 
(#35519)
ba82ca0f16d is described below

commit ba82ca0f16d50473e131ef6eae3e09aa1db62de4
Author: minghong <[email protected]>
AuthorDate: Tue May 28 18:19:12 2024 +0800

    [fix](nereids) set mark join reference for bitmap-in-apply (#35519)
    
    pick #35435
    
    bitmap filter is implemented before mark-join. When we support mark-join, 
author forgot to update the bitmap-filter branch.
    when convert a bitmap-apply-in to join, we should set markjoinReference to 
the join if there are markJoinRefereneces
---
 .../main/java/org/apache/doris/nereids/rules/rewrite/InApplyToJoin.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/InApplyToJoin.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/InApplyToJoin.java
index 5a1ba7e22e3..1848c168008 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/InApplyToJoin.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/InApplyToJoin.java
@@ -89,6 +89,7 @@ public class InApplyToJoin extends OneRewriteRuleFactory {
                 return new LogicalJoin<>(JoinType.LEFT_SEMI_JOIN, 
Lists.newArrayList(),
                         Lists.newArrayList(expr),
                         JoinHint.NONE,
+                        apply.getMarkJoinSlotReference(),
                         apply.left(), agg);
             }
 


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

Reply via email to