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

RLE v1 decoder bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.1, 1.3.0
    • RLE
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: