Skip to content

Commit

Permalink
resolve comment and remove 'RLE'
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Oct 10, 2023
1 parent ecec908 commit f2869f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/pyarrow/parquet/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ def _sanitize_table(table, new_schema, flavor):
Specify if we should use dictionary encoding in general or only for
some columns.
When encoding the column, if the dictionary size is too large, the
column will fallback to fallback encoding. Specially, ``BOOLEAN`` type
column will fallback to ``PLAIN`` encoding. Specially, ``BOOLEAN`` type
doesn't support dictionary encoding.
compression : str or dict, default 'snappy'
Specify the compression codec, either on a general basis or per-column.
Expand Down Expand Up @@ -827,8 +827,7 @@ def _sanitize_table(table, new_schema, flavor):
Can only be used when when ``use_dictionary`` is set to False, and
cannot be used in combination with ``use_byte_stream_split``.
Currently supported values: {'PLAIN', 'BYTE_STREAM_SPLIT',
'DELTA_BINARY_PACKED', 'DELTA_LENGTH_BYTE_ARRAY', 'DELTA_BYTE_ARRAY',
'RLE}.
'DELTA_BINARY_PACKED', 'DELTA_LENGTH_BYTE_ARRAY', 'DELTA_BYTE_ARRAY'}.
Certain encodings are only compatible with certain data types.
Please refer to the encodings section of `Reading and writing Parquet
files <https://arrow.apache.org/docs/cpp/parquet.html#encodings>`_.
Expand Down

0 comments on commit f2869f3

Please sign in to comment.