Skip to content

[Python] Pyarrow IPC guide is missing sink.close()  #28611

@asfimport

Description

@asfimport

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.

Reporter: Yale Yng-Wong

Externally tracked issue: https://arrow.apache.org/docs/python/ipc.html

PRs and other links:

Note: This issue was originally created as ARROW-12881. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions