[
https://issues.apache.org/jira/browse/AVRO-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15371913#comment-15371913
]
ASF GitHub Bot commented on AVRO-1879:
--------------------------------------
GitHub user mwong38 opened a pull request:
https://github.com/apache/avro/pull/108
AVRO-1879: Make conversions field static
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mwong38/avro AVRO-1879-static-conversion-field
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/108.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 #108
----
commit ccbf9c6f54236f6c60992d0c5b4f36094394c15a
Author: Michael Wong <[email protected]>
Date: 2016-07-11T22:56:23Z
AVRO-1879: Make conversions field static
----
> 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)