Skip to content

Commit 0c77c41

Browse files
committed
fix test
1 parent b2bfb33 commit 0c77c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class DataFrameFunctionsSuite extends QueryTest with SharedSQLContext {
9595
val msg2 = intercept[Exception] {
9696
df6.select(map_from_arrays($"k", $"v")).collect
9797
}.getMessage
98-
assert(msg2.contains("The given two arrays should have the same length"))
98+
assert(msg2.contains("The key array and value array of MapData must have the same length"))
9999
}
100100

101101
test("struct with column name") {

0 commit comments

Comments
 (0)