You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2016/09/04 20:57:20 UTC

[jira] [Updated] (AVRO-1879) Make conversions field transient in compiled SpecificRecord

     [ https://issues.apache.org/jira/browse/AVRO-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Blue updated AVRO-1879:
----------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Merged #108. Thanks [~mwong]!

> Make conversions field transient in compiled SpecificRecord
> -----------------------------------------------------------
>
>                 Key: AVRO-1879
>                 URL: https://issues.apache.org/jira/browse/AVRO-1879
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.8.1
>            Reporter: Michael Wong
>            Assignee: Michael Wong
>             Fix For: 1.9.0, 1.8.2
>
>         Attachments: conversions-transient.patch
>
>
> Add a transient modifier to the conversions field as such
> {code}
> private final transient org.apache.avro.Conversion<?>[] conversions
> {code}
> This will allow Serializers and type inference systems like Flink's TypeExtractor to not consider the {{conversions}} field and not try to serialize it.



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