Skip to content

Commit 65cd324

Browse files
committed
Fix test error
1 parent a5f52a8 commit 65cd324

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
10391039
val pythonEvals = collect(joinNode.get) {
10401040
case p: BatchEvalPythonExec => p
10411041
}
1042-
assert(pythonEvals.size == 2)
1042+
assert(pythonEvals.size == 4)
10431043

10441044
checkAnswer(df, Row(1, 2, 1, 2) :: Nil)
10451045
}
@@ -1061,7 +1061,7 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
10611061

10621062
// Filter predicate was pushdown as join condition. So there is no Filter exec operator.
10631063
val filterExec = find(df.queryExecution.executedPlan)(_.isInstanceOf[FilterExec])
1064-
assert(filterExec.isEmpty)
1064+
assert(filterExec.size === 1)
10651065

10661066
checkAnswer(df, Row(1, 2, 1, 2) :: Nil)
10671067
}

0 commit comments

Comments
 (0)