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

Dictionary encoded text in ORC scanner may cause incorrect result.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.12.0, 0.11.2
    • 0.12.0
    • Orc, Storage
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: