Github user xubo245 commented on a diff in the pull request:
https://github.com/apache/spark/pull/20456#discussion_r165627387
--- 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 --
sorryï¼ unused, remove it
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]