Skip to content

Commit b9f94fe

Browse files
committed
Fix test
1 parent 071b01d commit b9f94fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/ExpressionTypeCheckingSuite.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,6 @@ class ExpressionTypeCheckingSuite extends SparkFunSuite {
215215
test("check types for Greatest/Least") {
216216
for (operator <- Seq[(Seq[Expression] => Expression)](Greatest, Least)) {
217217
assertError(operator(Seq('booleanField)), "requires at least 2 arguments")
218-
assertError(operator(Seq('intField, 'stringField)), "should all have the same type")
219-
assertError(operator(Seq('intField, 'decimalField)), "should all have the same type")
220218
assertError(operator(Seq('mapField, 'mapField)), "does not support ordering")
221219
}
222220
}

0 commit comments

Comments
 (0)