[
https://issues.apache.org/jira/browse/AVRO-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15373128#comment-15373128
]
Doug Cutting commented on AVRO-1878:
------------------------------------
The test case should probably NOT work with mismatched record names: that's
consistent with the spec if not the Java implementation. Perhaps we should
alter the Java resolution implementation to more consistently require matching
of record names. This could be disabled for compatible behavior and eventually
enabled by default in some future release.
The spec says,
It is an error if the two schemas do not match.
To match, one of the following must hold:
[ ... ]
both schemas are records with the same name
https://avro.apache.org/docs/current/spec.html#Schema+Resolution
> ResolvingGrammarGenerator doesn't handle aliases
> ------------------------------------------------
>
> Key: AVRO-1878
> URL: https://issues.apache.org/jira/browse/AVRO-1878
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.8.1
> Reporter: Ryan Blue
> Assignee: Ryan Blue
> Fix For: 1.8.2
>
>
> While testing AVRO-1704, I tested schema evolution using an aliased field and
> found that the ResolvingGrammarGenerator doesn't support field aliases.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)