Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Correct comments
  • Loading branch information
HyukjinKwon committed Mar 2, 2016
commit a96e510295af1ed2bae25a05ee36d8f97b3e6b41
2 changes: 1 addition & 1 deletion python/pyspark/sql/readwriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def parquet(self, path, mode=None, partitionBy=None):
* ``compression`` (default ``None``): compression codec to use when saving to file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe just put this as an argument?

This can be one of the known case-insensitive shorten names
(``uncompressed``, ``snappy``,``gzip``, and ``lzo``).
This will overwrite ``orc.compress``.
This will overwrite ``spark.sql.parquet.compression.codec``.

>>> df.write.parquet(os.path.join(tempfile.mkdtemp(), 'data'))
"""
Expand Down