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

    https://github.com/apache/spark/pull/17077#discussion_r110538647
  
    --- Diff: python/pyspark/sql/readwriter.py ---
    @@ -545,6 +545,57 @@ def partitionBy(self, *cols):
             self._jwrite = self._jwrite.partitionBy(_to_seq(self._spark._sc, 
cols))
             return self
     
    +    @since(2.2)
    +    def bucketBy(self, numBuckets, *cols):
    +        """Buckets the output by the given columns on the file system.
    --- End diff --
    
    So the `bucketBy` description in the scaladoc is a bit more in depth, you 
might just want to copy that.
    
    Also generally our style for multi-line doc string is to have the open 
`"""` on its own line.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to