Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21859#discussion_r211122076
  
    --- Diff: core/src/main/scala/org/apache/spark/Partitioner.scala ---
    @@ -155,6 +156,8 @@ class RangePartitioner[K : Ordering : ClassTag, V](
     
       private var ordering = implicitly[Ordering[K]]
     
    +  private var sampledArray: Array[K] = _
    --- End diff --
    
    I think this should be `@transient`.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to