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

ByteBufferBackedBinary serialization is broken

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.8.1
    • 1.9.0, 1.8.2
    • parquet-mr
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment