[
https://issues.apache.org/jira/browse/AVRO-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15762171#comment-15762171
]
ASF GitHub Bot commented on AVRO-1971:
--------------------------------------
GitHub user baunz opened a pull request:
https://github.com/apache/avro/pull/174
Allow alias annotation on fields
See https://issues.apache.org/jira/browse/AVRO-1971
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/baunz/avro AVRO-1971-AvroAlias-On-Fields
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/174.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 #174
----
commit fdbf13551ddebd6fd814d6cd4d3cb3645663a21a
Author: baunz <[email protected]>
Date: 2016-12-18T20:48:33Z
Allow alias annotation on fields
----
> AvroAlias Annotation should work on field elements
> --------------------------------------------------
>
> Key: AVRO-1971
> URL: https://issues.apache.org/jira/browse/AVRO-1971
> Project: Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.8.1
> Reporter: Johannes Schulte
> Priority: Minor
>
> @AvroAlias annotation works only for records / classes but not for fields
> when using ReflectData-generated schemas. The specification allows aliases
> for comple types AND for fields.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)