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

[jira] [Resolved] (ARROW-15074) [Format][C++] Support multiple frames in LZ4 for IPC buffer compression?

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

Antoine Pitrou resolved ARROW-15074.
------------------------------------
    Resolution: Fixed

Issue resolved by pull request 11941
[https://github.com/apache/arrow/pull/11941]

> [Format][C++] Support multiple frames in LZ4 for IPC buffer compression?
> ------------------------------------------------------------------------
>
>                 Key: ARROW-15074
>                 URL: https://issues.apache.org/jira/browse/ARROW-15074
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Format
>            Reporter: Jorge Leitão
>            Assignee: Jorge Leitão
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 7.0.0
>
>         Attachments: b.arrow
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> When reading an arrow file with buffers LZ4-compressed with multiple frames, we get
> {code:java}
> OSError: Lz4 compressed input contains more than one frame
> {code}
> Attached is an example of such a file, which can be opened with
> {code:java}
> import pyarrow.ipc
> with pa.ipc.open_file("b.arrow") as reader:
>     print(reader.get_batch(0))
> {code}
> that fails with the error above.
> The LZ4 frame supports multiple frames and we do not refer that only one frame should be on a buffer as part of the spec.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)