Martin Jubelgas created AVRO-2291:
-------------------------------------
Summary: 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
Reporter: Martin Jubelgas
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)