[
https://issues.apache.org/jira/browse/ARROW-6423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16921357#comment-16921357
]
Arik Funke commented on ARROW-6423:
-----------------------------------
[~pitrou] Thanks. If you are fixing this, could you also fix the python
documentation? It lists 'snappy' as a valid compression option:
[https://arrow.apache.org/docs/python/generated/pyarrow.CompressedOutputStream.html#pyarrow.CompressedOutputStream]
The doc also lists the {{CompressesOutputStream}} as having a {{tell}} method.
When users try to use it, it fires {{NotImplementedError}} if I remember
correctly. It might be worth removing the method from the documentation.
> [Python] pyarrow.CompressedOutputStream() never completes with
> compression='snappy'
> -----------------------------------------------------------------------------------
>
> Key: ARROW-6423
> URL: https://issues.apache.org/jira/browse/ARROW-6423
> Project: Apache Arrow
> Issue Type: Bug
> Affects Versions: 0.14.1
> Reporter: Arik Funke
> Assignee: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> On python, the execution of {{CompressedOutputSteam(stream,
> compression='snappy')}} never completes.
>
> {color:#000000}raw {color}{color:#000000}={color}{color:#000000}
> pa.BufferOutputStream(){color}
> {color:#000000}compressed {color}{color:#000000}={color}{color:#000000}
> pa.CompressedOutputStream(raw,
> {color}{color:#a31515}'snappy'{color}{color:#000000}){color}
> Note: With 'gzip' this works fine.
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)