Chad Parry created AVRO-4150:
--------------------------------
Summary: The Java API
Key: AVRO-4150
URL: https://issues.apache.org/jira/browse/AVRO-4150
Project: Apache Avro
Issue Type: Bug
Reporter: Chad Parry
The Java API's org.apache.avro.Schema.toString implementation does not
correctly serialize references into the null namespace. It always serializes
such references as a name without a dot. That creates ambiguity, since it could
be interpreted as a simple name that refers to a type in the same namespace as
the enclosing type. One way to resolve the ambiguity would be to add a leading
dot to the type name—assuming the specification is amended to allow that
construction in AVRO-4149. The org.apache.avro.Schema.Parser implementation
already accepts full names with a leading dot, so this would just make
serialization consistent.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)