Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
According to the docs, you can specify the compression type on a column-by-column basis, but that doesn't seem to be working:
In [5]: table = pa.table([[1, 2], [3, 4], [5, 6]], names=["foo", "bar", "baz"]) In [6]: pq.write_table(table, 'test1.parquet', compression=dict(foo='zstd',bar='snappy',baz='brotli')) ... ~/scipy/repos/arrow/python/pyarrow/_parquet.cpython-37m-x86_64-linux-gnu.so in string.from_py.__pyx_convert_string_from_py_std__in_string() TypeError: expected bytes, str found
Attachments
Issue Links
- links to