You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "Lei Chang (JIRA)" <ji...@apache.org> on 2016/09/28 03:54:20 UTC

[jira] [Created] (ORC-102) RLE v1 decoder bug

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)