[
https://issues.apache.org/jira/browse/ARROW-9636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wieteska reassigned ARROW-9636:
--------------------------------------
Assignee: Andrew Wieteska
> [Python] Update documentation about 'LZO' compression in parquet.write_table
> ----------------------------------------------------------------------------
>
> Key: ARROW-9636
> URL: https://issues.apache.org/jira/browse/ARROW-9636
> Project: Apache Arrow
> Issue Type: Bug
> Components: Documentation, Python
> Reporter: Pierre
> Assignee: Andrew Wieteska
> Priority: Trivial
> Labels: beginner-friendly, doc, pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Hi,
> When trying to use 'LZO' codec in `pyarrow.parquet.write_table()` with below
> code, I get an error message indicating that 'LZO' is not available. However,
> this codec is mentioned as available in the doc
> [[https://arrow.apache.org/docs/python/generated/pyarrow.parquet.write_table.html]].
>
> Code
> {code:python}
> from pyarrow import parquet as pq
> pq.write_table(data, file, compression='LZO')
> {code}
>
> Error message
> {code:bash}
> File "pyarrow/_parquet.pyx", line 1374, in
> pyarrow._parquet.ParquetWriter.write_table
> File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status
> OSError: Codec type LZO not supported in Parquet format
> {code}
>
> I would suggest correcting the documentation, or making this codec available?
> Thanks for your support.
> Bests,
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)