[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:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user