[fix](nereids) set mark join reference for bitmap-in-apply (#35435)

bitmap filter is implemented before mark-join. When support mark-join, we 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
This commit is contained in:
minghong
2024-05-27 20:44:46 +08:00
committed by yiguolei
parent ac49576229
commit dfcabf8d47
3 changed files with 21 additions and 3 deletions

View File

@ -90,6 +90,7 @@ public class InApplyToJoin extends OneRewriteRuleFactory {
return new LogicalJoin<>(JoinType.LEFT_SEMI_JOIN, Lists.newArrayList(),
Lists.newArrayList(expr),
new DistributeHint(DistributeType.NONE),
apply.getMarkJoinSlotReference(),
apply.left(), agg, null);
}