You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2018/12/30 04:10:01 UTC
[jira] [Updated] (AVRO-2291) GenericData.Array not reusable after
AVRO-2050
[ https://issues.apache.org/jira/browse/AVRO-2291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiruvalluvan M. G. updated AVRO-2291:
--------------------------------------
Component/s: java
> GenericData.Array not reusable after AVRO-2050
> ----------------------------------------------
>
> Key: AVRO-2291
> URL: https://issues.apache.org/jira/browse/AVRO-2291
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Reporter: Martin Jubelgas
> Priority: Minor
>
> The fix for AVRO-2050 left the reusing functionality of GenericData.Array broken. By nulling all fields of the underlying array during GenericData.Array.clear(), there was no more data to be reused in GenericDatumReader.readArray().
> I've already posted a pull request to alleviate this issue in a backward compatible matter as a possible solution. Comments welcome.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)