Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15780#discussion_r87318912
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/DatasetSuite.scala 
---
    @@ -935,6 +935,20 @@ class DatasetSuite extends QueryTest with 
SharedSQLContext {
         assert(dataset.collect() sameElements Array(resultValue, resultValue))
       }
     
    +  test("SPARK-18284: Serializer should have correct nullable value") {
    +    val df1 = sparkContext.parallelize(Seq(1, 2, 3, 4), 1).toDF
    --- End diff --
    
    why not use `Seq(1, 2, 3, 4).toDF`? Does the number of partitions matters 
here?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to