Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-415

ByteBufferBackedBinary serialization is broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.9.0, 1.8.2
    • Component/s: parquet-mr
    • Labels:
      None

      Description

      While working on logical types for parquet-avro, I updated the FromStringBinary to work with a CharSequence instead of a String, which broke TestFilterApiMethods#testSerializable. The underlying problem is that when the buffer-backed binary is deserialized, length and offset are not initialized so the buffer is correct but the apparent length of the binary is 0.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rdblue Ryan Blue
                Reporter:
                rdblue Ryan Blue
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: