Skip to content

Commit

Permalink
apacheGH-41748: [Python][Parquet] Update BYTE_STREAM_SPLIT descriptio…
Browse files Browse the repository at this point in the history
…n in write_table() docstring
  • Loading branch information
pitrou committed May 21, 2024
1 parent e254c43 commit 9d0ff42
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/pyarrow/parquet/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -797,8 +797,9 @@ def _sanitize_table(table, new_schema, flavor):
Specify if the byte_stream_split encoding should be used in general or
only for some columns. If both dictionary and byte_stream_stream are
enabled, then dictionary is preferred.
The byte_stream_split encoding is valid only for floating-point data types
and should be combined with a compression codec.
The byte_stream_split encoding is valid for integer, floating-point
and fixed-size binary data types (including decimals); it should be
combined with a compression codec so as to achieve size reduction.
column_encoding : string or dict, default None
Specify the encoding scheme on a per column basis.
Can only be used when ``use_dictionary`` is set to False, and
Expand Down

0 comments on commit 9d0ff42

Please sign in to comment.