avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Wong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1879) Make conversions field transient in compiled SpecificRecord
Date Sun, 10 Jul 2016 10:51:10 GMT

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

Michael Wong updated AVRO-1879:
-------------------------------
    Status: Patch Available  (was: Open)

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

Mime
View raw message