Repository: spark
Updated Branches:
  refs/heads/master bde27b89a -> 428374195


[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/42837419
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/42837419
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/42837419

Branch: refs/heads/master
Commit: 4283741956549857a2f12679e51ca9d765f47351
Parents: bde27b8
Author: Davies Liu <[email protected]>
Authored: Wed May 4 21:30:13 2016 -0700
Committer: Davies Liu <[email protected]>
Committed: Wed May 4 21:30:13 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/spark/blob/42837419/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