Skip to content

Commit 19a3cbf

Browse files
committed
fix fe ut
1 parent a1b3b25 commit 19a3cbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fe/fe-core/src/test/java/org/apache/doris/nereids/rules/analysis/BindExpressionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void testJoin() {
4949
sql = String.format("select * from t1 %s t2",
5050
joinType.toString().replace("_", " "));
5151
}
52-
if (joinType.isNullAwareLeftAntiJoin()) {
52+
if (joinType.isNullAwareLeftAntiJoin() || joinType.isAsofJoin()) {
5353
continue;
5454
}
5555
PlanChecker.from(connectContext)

fe/fe-core/src/test/java/org/apache/doris/nereids/rules/rewrite/PushFilterInsideJoinTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public void testPushInsideInnerJoin() {
108108
@Test
109109
public void testShouldNotPushInsideJoin() {
110110
for (JoinType joinType : JoinType.values()) {
111-
if (JoinType.INNER_JOIN == joinType || JoinType.CROSS_JOIN == joinType) {
111+
if (joinType.isInnerOrCrossJoin()) {
112112
continue;
113113
}
114114
shouldNotPushInsideJoin(joinType);

0 commit comments

Comments
 (0)