[jira] [Commented] (AVRO-1971) AvroAlias Annotation should work on field elements

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (AVRO-1971) AvroAlias Annotation should work on field elements

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/AVRO-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16050112#comment-16050112 ]

Gabor Szadovszky commented on AVRO-1971:
----------------------------------------

Thanks a lot, [~baunz]. It looks great.
I have some minor comments in the PR. I'll try to commit it tomorrow if there are no more objections.

> 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
>            Assignee: 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.4.14#64029)