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

Chad Parry commented on AVRO-4150:
----------------------------------

See the [email protected] thread on this: 
[https://lists.apache.org/thread/9xk4dy831b1y6mzsfzdlgnxf9cdx7b7v] . CC 
[[email protected]|mailto:[email protected]] , 
[[email protected]|mailto:[email protected]]

> The Java API 
> -------------
>
>                 Key: AVRO-4150
>                 URL: https://issues.apache.org/jira/browse/AVRO-4150
>             Project: Apache Avro
>          Issue Type: Bug
>            Reporter: Chad Parry
>            Priority: Minor
>
> 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)

Reply via email to