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 8d133e61c8e [fix](nereids)disable PushdownJoinOtherCondition rule for
mark join #31084 (#31086)
8d133e61c8e is described below
commit 8d133e61c8e3741e638bb3b7f9749490939438cf
Author: starocean999 <[email protected]>
AuthorDate: Mon Feb 19 17:44:47 2024 +0800
[fix](nereids)disable PushdownJoinOtherCondition rule for mark join #31084
(#31086)
---
.../apache/doris/nereids/rules/rewrite/PushdownJoinOtherCondition.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/PushdownJoinOtherCondition.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/PushdownJoinOtherCondition.java
index 27285aa897d..4e29f317c89 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/PushdownJoinOtherCondition.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/PushdownJoinOtherCondition.java
@@ -62,7 +62,8 @@ public class PushdownJoinOtherCondition extends
OneRewriteRuleFactory {
return logicalJoin()
// TODO: we may need another rule to handle on true or on
false condition
.when(join -> !join.getOtherJoinConjuncts().isEmpty() &&
!(join.getOtherJoinConjuncts().size() == 1
- && join.getOtherJoinConjuncts().get(0) instanceof
BooleanLiteral))
+ && join.getOtherJoinConjuncts().get(0) instanceof
BooleanLiteral)
+ && !join.isMarkJoin())
.then(join -> {
List<Expression> otherJoinConjuncts =
join.getOtherJoinConjuncts();
List<Expression> remainingOther = Lists.newArrayList();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]