You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "William Hyun (Jira)" <ji...@apache.org> on 2022/09/03 22:44:00 UTC

[jira] [Closed] (ORC-1122) Add buffer to decode the whole run in RleDecoderV2

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

William Hyun closed ORC-1122.
-----------------------------

> Add buffer to decode the whole run in RleDecoderV2
> --------------------------------------------------
>
>                 Key: ORC-1122
>                 URL: https://issues.apache.org/jira/browse/ORC-1122
>             Project: ORC
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 1.8.0
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Major
>             Fix For: 1.8.0
>
>
> This is a follow up task of ORC-1020 which didn't optimize the code path when the run has nulls. Adding a buffer to decode the whole run at once can leverage the improvement of ORC-1020. Not just for the DIRECT encoding, this also benifits other encodings like PATCHED_BASE and DELTA. It also helps to remove the state variables in RleDecoderV2 and improves the code redability.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)