Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-1468

DataByteArray.compareTo() does not compare in lexicographic order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      The compareTo() method of org.apache.pig.data.DataByteArray does not compare items in lexicographic order.
      Actually, it takes into account the signum of the bytes that compose the DataByteArray.

      So, for example, 0xff compares to less than 0x00

      Attachments

        1. PIG-1468.patch
          2 kB
          Gianmarco De Francisci Morales

        Activity

          People

            azaroth Gianmarco De Francisci Morales
            azaroth Gianmarco De Francisci Morales
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: