[ 
https://issues.apache.org/jira/browse/PARQUET-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15068891#comment-15068891
 ] 

Ryan Blue commented on PARQUET-415:
-----------------------------------

Fixed in PR #305. Luckily, no other Binary classes failed the new serialization 
test.

> 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)

Reply via email to