spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mengxr <...@git.apache.org>
Subject [GitHub] spark pull request #19387: [SPARK-22160][SQL] Allow changing sample points p...
Date Thu, 28 Sep 2017 22:54:09 GMT
Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19387#discussion_r141755198
  
    --- Diff: core/src/main/scala/org/apache/spark/Partitioner.scala ---
    @@ -108,9 +108,17 @@ class HashPartitioner(partitions: Int) extends Partitioner {
     class RangePartitioner[K : Ordering : ClassTag, V](
         partitions: Int,
         rdd: RDD[_ <: Product2[K, V]],
    -    private var ascending: Boolean = true)
    +    private var ascending: Boolean = true,
    +    val samplePointsPerPartitionHint: Int = 20)
    --- End diff --
    
    `> 0` precondition check


---

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


Mime
View raw message