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

Nikita Makeev commented on AVRO-1646:
-------------------------------------

I've found that this issue still exists if we have nested records of depth 
three or more. For instance, if we have "A.space { B."" {C {} } }" it becomes 
"A.space { B."" { C.space {} }}"
I ran into this when trying to use avro-mapred and org.apache.avro.mapred.Pair 
on avro file with nested records and no namespace.
I've made my patch for this as well as patch for corresponding test.

> null namespace within non-null is not print/parse consistent with deeply 
> nested records
> ---------------------------------------------------------------------------------------
>
>                 Key: AVRO-1646
>                 URL: https://issues.apache.org/jira/browse/AVRO-1646
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.7
>            Reporter: Nikita Makeev
>
> This was partly addressed in AVRO-1295. If a record with a null namespace and 
> containing other record is nested within a record with a non-null namespace 
> then, when the outer schema is printed and re-parsed, the most inner schema's 
> namespace becomes the outer, rather than null as it should be.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to