Skip to content

ByteBufferBackedBinary serialization is broken #1920

@asfimport

Description

@asfimport

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.

Reporter: Ryan Blue / @rdblue
Assignee: Ryan Blue / @rdblue

Related issues:

PRs and other links:

Note: This issue was originally created as PARQUET-415. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions