crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CRUNCH-382) AvroType#getDetachedValue does not work correctly for byte[]
Date Fri, 25 Apr 2014 20:47:17 GMT

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

Josh Wills commented on CRUNCH-382:
-----------------------------------

+1

> AvroType#getDetachedValue does not work correctly for byte[]
> ------------------------------------------------------------
>
>                 Key: CRUNCH-382
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-382
>             Project: Crunch
>          Issue Type: Bug
>            Reporter: Gabriel Reid
>            Assignee: Gabriel Reid
>         Attachments: CRUNCH-382.patch, CRUNCH-382b.patch
>
>
> A NoOpDeepCopier is currently used for getting detached ByteBuffer values in Avro. However,
ByteBuffers are reused in Avro, meaning that object reuse bugs can still be present even if
PType#getDetachedValue is called on a byte[] value.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message