[
https://issues.apache.org/jira/browse/AVRO-2291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nandor Kollar resolved AVRO-2291.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.9.0
> 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
> Assignee: Martin Jubelgas
> Priority: Minor
> Fix For: 1.9.0
>
>
> 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)