[
https://issues.apache.org/jira/browse/AVRO-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15370501#comment-15370501
]
ASF GitHub Bot commented on AVRO-1879:
--------------------------------------
GitHub user mwong38 opened a pull request:
https://github.com/apache/avro/pull/107
AVRO-1879: Make conversions field transient
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mwong38/avro AVRO-1879-transient-field
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/107.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #107
----
commit 903143f1f572c9fb20f326525964615e61cea27d
Author: Michael Wong <[email protected]>
Date: 2016-07-11T10:07:19Z
AVRO-1879: Make conversions field transient
----
> 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)