Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-2189

Dictionary encoded text in ORC scanner may cause incorrect result.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.12.0, 0.11.2
    • Fix Version/s: 0.12.0
    • Component/s: Orc, Storage
    • Labels:
      None

      Description

      See the title. org.apache.hadoop.io.Text:getBytes() returns internal raw bytes. It should use with getLength()

      /**
       * Returns the raw bytes; however, only data up to {@link #getLength()} is
       * valid. Please use {@link #copyBytes()} if you
       * need the returned array to be precisely the length of the data.
       */
      @Override
      public byte[] getBytes() {
        return bytes;
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jhkim Jinho Kim
                Reporter:
                jhkim Jinho Kim
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: