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-482) Parquet write implementation does not work well with object reusing
Date Mon, 01 Dec 2014 18:41:13 GMT

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

Josh Wills commented on CRUNCH-482:
-----------------------------------

Hey Martins-- based on that code, isn't the object re-use happening in the AvroParquetReader?
Shouldn't you be copying the GenericData.Record value you're getting back from the reader
on line 46 before you add it to the List?

> Parquet write implementation does not work well with object reusing
> -------------------------------------------------------------------
>
>                 Key: CRUNCH-482
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-482
>             Project: Crunch
>          Issue Type: Bug
>    Affects Versions: 0.11.0
>            Reporter: Mārtiņš Kalvāns
>
> I created test case:
> https://github.com/sisidra/crunch-parquet-bugreport
> Simple pipeline: read avro - write parquet. 
> Parquet file contains same data in fields that can be reused internally (UTF8).



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

Mime
View raw message