You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2022/04/22 20:52:46 UTC
[arrow] branch master updated: MINOR: [Docs] Update parquet.rst to note support for zstd and lz4 (#12951)
This is an automated email from the ASF dual-hosted git repository.
kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new a363812f07 MINOR: [Docs] Update parquet.rst to note support for zstd and lz4 (#12951)
a363812f07 is described below
commit a363812f07fa60d4df49049934dd6cd813ec8f25
Author: Kyle Barron <ky...@gmail.com>
AuthorDate: Fri Apr 22 14:52:39 2022 -0600
MINOR: [Docs] Update parquet.rst to note support for zstd and lz4 (#12951)
---
docs/source/python/parquet.rst | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/docs/source/python/parquet.rst b/docs/source/python/parquet.rst
index ce4d72bb83..baffc55544 100644
--- a/docs/source/python/parquet.rst
+++ b/docs/source/python/parquet.rst
@@ -328,13 +328,16 @@ plain encoding. Whether dictionary encoding is used can be toggled using the
The data pages within a column in a row group can be compressed after the
encoding passes (dictionary, RLE encoding). In PyArrow we use Snappy
-compression by default, but Brotli, Gzip, and uncompressed are also supported:
+compression by default, but Brotli, Gzip, ZSTD, LZ4, and uncompressed are
+also supported:
.. code-block:: python
pq.write_table(table, where, compression='snappy')
pq.write_table(table, where, compression='gzip')
pq.write_table(table, where, compression='brotli')
+ pq.write_table(table, where, compression='zstd')
+ pq.write_table(table, where, compression='lz4')
pq.write_table(table, where, compression='none')
Snappy generally results in better performance, while Gzip may yield smaller