[ 
https://issues.apache.org/jira/browse/ARROW-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Li Jin updated ARROW-2570:
--------------------------
    Component/s: Python

> [Python] Add support for writing parquet files with LZ4 compression
> -------------------------------------------------------------------
>
>                 Key: ARROW-2570
>                 URL: https://issues.apache.org/jira/browse/ARROW-2570
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Dmitry Kalinkin
>            Assignee: Dmitry Kalinkin
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.10.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> {code:java}
> import pyarrow as pa
> import pyarrow.parquet as pq
> data = [pa.array([None])]
> batch = pa.RecordBatch.from_arrays(data, ['x'])
> table = pa.Table.from_batches([batch])
> pq.write_table(table, "test.parquet", compression='LZ4'){code}
> currently fails with
> {code:java}
> Traceback (most recent call last):
>  File "_parquet.pyx", line 811, in pyarrow._parquet.check_compression_name
> pyarrow.lib.ArrowException: Unsupported compression: LZ4{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to