Repository: spark
Updated Branches:
  refs/heads/branch-2.0 e12ec46c6 -> 2023faf6c


[MINOR] remove dead code


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/2023faf6
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/2023faf6
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/2023faf6

Branch: refs/heads/branch-2.0
Commit: 2023faf6c5433cdca4cd654bf16b165a57e2b5dd
Parents: e12ec46
Author: Davies Liu <[email protected]>
Authored: Wed May 4 21:30:13 2016 -0700
Committer: Davies Liu <[email protected]>
Committed: Wed May 4 21:31:43 2016 -0700

----------------------------------------------------------------------
 python/pyspark/sql/dataframe.py | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/2023faf6/python/pyspark/sql/dataframe.py
----------------------------------------------------------------------
diff --git a/python/pyspark/sql/dataframe.py b/python/pyspark/sql/dataframe.py
index bbe15f5..5378c32 100644
--- a/python/pyspark/sql/dataframe.py
+++ b/python/pyspark/sql/dataframe.py
@@ -364,15 +364,6 @@ class DataFrame(object):
         return DataFrame(self._jdf.coalesce(numPartitions), self.sql_ctx)
 
     @since(1.3)
-    def repartition(self, numPartitions):
-        """Returns a new :class:`DataFrame` that has exactly ``numPartitions`` 
partitions.
-
-        >>> df.repartition(10).rdd.getNumPartitions()
-        10
-        """
-        return DataFrame(self._jdf.repartition(numPartitions), self.sql_ctx)
-
-    @since(1.3)
     def repartition(self, numPartitions, *cols):
         """
         Returns a new :class:`DataFrame` partitioned by the given partitioning 
expressions. The


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

Reply via email to