Skip to content

Commit 85bba9d

Browse files
committed
Fix wrong input data in InMemoryColumnarQuerySuite
The schema declares an array of booleans, but we passed an array of integers instead.
1 parent 9c0e4e1 commit 85bba9d

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/columnar/InMemoryColumnarQuerySuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class InMemoryColumnarQuerySuite extends QueryTest {
173173
new Timestamp(i),
174174
(1 to i).toSeq,
175175
(0 to i).map(j => s"map_key_$j" -> (Long.MaxValue - j)).toMap,
176-
Row((i - 0.25).toFloat, (1 to i).toSeq))
176+
Row((i - 0.25).toFloat, Seq(true, false, null)))
177177
}
178178
createDataFrame(rdd, schema).registerTempTable("InMemoryCache_different_data_types")
179179
// Cache the table.

0 commit comments

Comments
 (0)