Skip to content

Commit 91792ea

Browse files
committed
fix ut
1 parent a62d9db commit 91792ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class ExpressionTypeCheckingSuite extends SparkFunSuite {
150150
assertError(Min('mapField), "min does not support ordering on type")
151151
assertError(Max('mapField), "max does not support ordering on type")
152152
assertError(Sum('booleanField), "function sum requires numeric type")
153-
assertError(Average('booleanField), "function average requires numeric type")
153+
assertError(Average('booleanField), "requires (numeric or interval) type")
154154
}
155155

156156
test("check types for others") {

0 commit comments

Comments
 (0)