You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Gabor Szadovszky (JIRA)" <ji...@apache.org> on 2018/04/21 12:39:05 UTC
[jira] [Updated] (PARQUET-415) ByteBufferBackedBinary serialization
is broken
[ https://issues.apache.org/jira/browse/PARQUET-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabor Szadovszky updated PARQUET-415:
-------------------------------------
Fix Version/s: 1.8.2
> 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, 1.8.2
>
>
> 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
(v7.6.3#76005)