You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Nandor Kollar (JIRA)" <ji...@apache.org> on 2019/03/27 17:09:00 UTC

[jira] [Assigned] (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 ]

Nandor Kollar reassigned AVRO-2291:
-----------------------------------

    Assignee: Martin Jubelgas

> 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
>
> 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)