orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei Chang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-102) RLE v1 decoder bug
Date Wed, 28 Sep 2016 03:54:20 GMT
Lei Chang created ORC-102:
-----------------------------

             Summary: RLE v1 decoder bug
                 Key: ORC-102
                 URL: https://issues.apache.org/jira/browse/ORC-102
             Project: Orc
          Issue Type: Bug
          Components: RLE
            Reporter: Lei Chang


at line 160: https://github.com/apache/orc/blob/master/c%2B%2B/src/RLEv1.cc

notNull[i] should be (notNull[position + i]).

{code}
        for (uint64_t i = 0 ; i < count; ++i) {
          if (notNull[i]) {
            data[position + i] = isSigned
                ? unZigZag(readLong())
                : static_cast<int64_t>(readLong());
            ++consumed;
          }
        }
{code}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message