You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by HyukjinKwon <gi...@git.apache.org> on 2018/02/01 03:32:45 UTC

[GitHub] spark pull request #20456: [SPARK-22624][PYSPARK] Expose range partitioning ...

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

    https://github.com/apache/spark/pull/20456#discussion_r165252395
  
    --- Diff: python/pyspark/sql/dataframe.py ---
    @@ -667,6 +667,55 @@ def repartition(self, numPartitions, *cols):
             else:
                 raise TypeError("numPartitions should be an int or Column")
     
    +    @since("2.3.0")
    +    def repartitionByRange(self, numPartitions, *cols, **kwargs):
    --- End diff --
    
    Mind if I ask why we added `**kwargs`?


---

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