Ilya Kramer created AVRO-3172:
---------------------------------
Summary: Alias break when writer schema and reader schema name
differs
Key: AVRO-3172
URL: https://issues.apache.org/jira/browse/AVRO-3172
Project: Apache Avro
Issue Type: Bug
Reporter: Ilya Kramer
In Java, when migrating from one name to another via alias (for example in
_schema.old_ a field was named _a_, in _schema.new_ the field is renamed to _b_
with alias to _a_) the alias is not considered if the record name in
_schema.old_ differs from __ _schema.new_.
This is especially painful as nothing else breaks and there's no warning issued
about the change of the record name.
This issue was very annoying to isolate(from a big avro schema).
Even if this isn't strictly speaking a bug at least a warning should be issued
indicating issues might arise from the record name change.
I could replicate this using a simple test case on all versions of avro from
1.8.0 to 1.10.2
--
This message was sent by Atlassian Jira
(v8.3.4#803005)