[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
|  
Report Content as Inappropriate

[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=16048807#comment-16048807 ]

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

Thanks [~baunz] for taking care of this issue.
I agree that based on the spec namespaces for field aliases shall not be allowed. Therefore, I would expect some error handling for the case of the space is specified.

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