Github user rxin commented on a diff in the pull request: https://github.com/apache/spark/pull/11464#discussion_r54689173 --- Diff: python/pyspark/sql/readwriter.py --- @@ -487,6 +487,12 @@ def parquet(self, path, mode=None, partitionBy=None): * ``error`` (default case): Throw an exception if data already exists. :param partitionBy: names of partitioning columns + You can set the following Parquet-specific option(s) for writing Parquet files: + * ``compression`` (default ``None``): compression codec to use when saving to file. --- End diff -- maybe just put this as an argument?
--- 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