Skip to content

Commit

Permalink
Copy bucketBy description from Scala docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zero323 committed May 7, 2017
1 parent cbfbac4 commit 8eac959
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/pyspark/sql/readwriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,8 @@ def partitionBy(self, *cols):

@since(2.3)
def bucketBy(self, numBuckets, *cols):
"""Buckets the output by the given columns on the file system.
"""Buckets the output by the given columns.If specified,
the output is laid out on the file system similar to Hive's bucketing scheme.
:param numBuckets: the number of buckets to save
:param cols: name of columns
Expand Down

0 comments on commit 8eac959

Please sign in to comment.