Skip to content

Commit

Permalink
Fix wrong input data in InMemoryColumnarQuerySuite
Browse files Browse the repository at this point in the history
The schema declares an array of booleans, but we
passed an array of integers instead.
  • Loading branch information
JoshRosen committed May 29, 2015
1 parent 9c0e4e1 commit 85bba9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class InMemoryColumnarQuerySuite extends QueryTest {
new Timestamp(i),
(1 to i).toSeq,
(0 to i).map(j => s"map_key_$j" -> (Long.MaxValue - j)).toMap,
Row((i - 0.25).toFloat, (1 to i).toSeq))
Row((i - 0.25).toFloat, Seq(true, false, null)))
}
createDataFrame(rdd, schema).registerTempTable("InMemoryCache_different_data_types")
// Cache the table.
Expand Down

0 comments on commit 85bba9d

Please sign in to comment.