Skip to content
Closed
Prev Previous commit
Next Next commit
add test case
  • Loading branch information
kiszk committed Mar 27, 2016
commit fea2a524bbd5b1d0d285e02e6eda590d1f7d67e3
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,10 @@ class InMemoryColumnarQuerySuite extends QueryTest with SharedSQLContext {
assert(data.count() === 10)
assert(data.filter($"s" === "3").count() === 1)
}

test("SPARK-14138: Generated SpecificColumnarIterator code can exceed JVM size limit for cached DataFrames") {
val length = 10000
val columnTypes = List.fill(length)(IntegerType)
val columnarIterator = GenerateColumnAccessor.generate(columnTypes)
}
}