You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2015/12/23 00:03:46 UTC

[jira] [Created] (PARQUET-415) ByteBufferBackedBinary serialization is broken

Ryan Blue created PARQUET-415:
---------------------------------

             Summary: ByteBufferBackedBinary serialization is broken
                 Key: PARQUET-415
                 URL: https://issues.apache.org/jira/browse/PARQUET-415
             Project: Parquet
          Issue Type: Bug
          Components: parquet-mr
    Affects Versions: 1.8.1
            Reporter: Ryan Blue
            Assignee: Ryan Blue
            Priority: Blocker
             Fix For: 1.9.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)