avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Schulte (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1971) AvroAlias Annotation should work on field elements
Date Mon, 13 Feb 2017 20:43:41 GMT

    [ 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)

Mime
View raw message