You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Johannes Schulte (JIRA)" <ji...@apache.org> on 2017/02/13 20:43:41 UTC

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

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

Johannes Schulte commented on AVRO-1971:
----------------------------------------

Does anybody have an opinion or objection? One thing I am thinking about is if an error should be thrown when the namespace field of the annotation is used - field aliases are not allowed to contain a namespace quaifier if I understand the specification correctly.

> 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.3.15#6346)