orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fang Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-464) [C++] Avoid computing zigzag values for DELTA and SHORT_REPEAT encoding
Date Mon, 28 Jan 2019 20:03:00 GMT
Fang Zheng created ORC-464:
------------------------------

             Summary: [C++] Avoid computing zigzag values for DELTA and SHORT_REPEAT encoding
                 Key: ORC-464
                 URL: https://issues.apache.org/jira/browse/ORC-464
             Project: ORC
          Issue Type: Improvement
          Components: C++
            Reporter: Fang Zheng


In current implementation, RleEncoderV2::determineEncoding() always computes zigzag values
before determining the encoding type. However, zigzag values are only needed for DIRECT and
PATCHED_BASE encoding, but not for DELTA and SHORT_REPEAT. For efficiency
, we shall only perform zigzag computation when it's determined to be necessary.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message