Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-102

RLE v1 decoder bug

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.1, 1.3.0
    • Component/s: RLE
    • Labels:
      None

      Description

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

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

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

        Attachments

          Activity

            People

            • Assignee:
              omalley Owen O'Malley
              Reporter:
              lei_chang Lei Chang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: