You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by holdenk <gi...@git.apache.org> on 2017/05/06 22:02:37 UTC

[GitHub] spark pull request #17077: [SPARK-16931][PYTHON][SQL] Add Python wrapper for...

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

    https://github.com/apache/spark/pull/17077#discussion_r115129682
  
    --- Diff: python/pyspark/sql/readwriter.py ---
    @@ -563,6 +563,60 @@ def partitionBy(self, *cols):
             self._jwrite = self._jwrite.partitionBy(_to_seq(self._spark._sc, cols))
             return self
     
    +    @since(2.3)
    +    def bucketBy(self, numBuckets, *cols):
    +        """Buckets the output by the given columns on the file system.
    --- End diff --
    
    I'd copy the full description from DataFrameWriter here since comparing it to Hive could help people new to Spark understand what bucketBy does.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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