You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (Jira)" <ji...@apache.org> on 2021/03/23 21:26:00 UTC

[jira] [Resolved] (ORC-758) Avoid decompressing compressed streams if already decompressed

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

Owen O'Malley resolved ORC-758.
-------------------------------
    Fix Version/s: 1.7.0
       Resolution: Fixed

I just committed this. Thanks, Pavan!

> Avoid decompressing compressed streams if already decompressed
> --------------------------------------------------------------
>
>                 Key: ORC-758
>                 URL: https://issues.apache.org/jira/browse/ORC-758
>             Project: ORC
>          Issue Type: Sub-task
>          Components: Java
>    Affects Versions: 1.7.0
>            Reporter: Pavan Lanka
>            Assignee: Pavan Lanka
>            Priority: Minor
>             Fix For: 1.7.0
>
>
> The current behavior of `InStream.CompressedStream` does not avoid seek and decompression if the required position is already decompressed and available.
> This results in multiple decompressions of the same compression blocks. This can be avoided by tracking the current position and avoid decompression if we are at the required position already.



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