Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20219#discussion_r160688553
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/DatasetSuite.scala
---
@@ -1441,6 +1441,13 @@ class DatasetSuite extends QueryTest with
SharedSQLContext {
assert(e.getCause.isInstanceOf[NullPointerException])
}
}
+
+ test("SPARK-23025: Add support for null type in scala reflection") {
+ val data = Seq(("a", null))
+ checkDataset(
+ data.toDS(),
+ data: _*)
--- End diff --
Nope, let's only fix this one if there are many places to update.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]