You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/05/27 14:17:00 UTC

[jira] [Commented] (ARROW-12881) Pyarrow IPC guide is missing sink.close()

    [ https://issues.apache.org/jira/browse/ARROW-12881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17352511#comment-17352511 ] 

David Li commented on ARROW-12881:
----------------------------------

Thanks for the report! Would you like to submit a quick PR?

> Pyarrow IPC guide is missing sink.close() 
> ------------------------------------------
>
>                 Key: ARROW-12881
>                 URL: https://issues.apache.org/jira/browse/ARROW-12881
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Yale Yng-Wong
>            Priority: Trivial
>
> In the document: [https://arrow.apache.org/docs/python/ipc.html]
> writer.close() is stated but sink.close() is not. In trying to apply the documentation using compression I got
> OSError: Truncated compressed stream
> After including sink.close() the problem was resolved.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)