osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-2570) [Python] Add support for writing parquet files with LZ4 compression


Dmitry Kalinkin created ARROW-2570:
--------------------------------------

             Summary: [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
            Reporter: Dmitry Kalinkin


{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)