Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/20455#discussion_r165324640
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala
---
@@ -1261,4 +1269,38 @@ class ColumnarBatchSuite extends SparkFunSuite {
batch.close()
allocator.close()
}
+
+ testVector("getDecimal should return null for null slot", 4,
DecimalType.IntDecimal) {
--- End diff --
shall we make it a normal test case for decimal type? we can follow the
other tests, e.g. create a decimal array, and check the value of column vector
at the same index.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]