You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2014/04/25 22:47:17 UTC
[jira] [Commented] (CRUNCH-382) AvroType#getDetachedValue does not
work correctly for byte[]
[ 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)