[
]
Doug Cutting updated AVRO-1295:
-------------------------------
Attachment: AVRO-1295.patch
Here's a patch that fixes this and adds a test for it.
The fix is to, when printing a schema with a null namespace nested inside a non-null namespace,
explicitly specify the empty string as its namespace in order to override the inheritance
of the enclosing namespace.
> null namespace within non-null is not print/parse consistent
> ------------------------------------------------------------
>
> Key: AVRO-1295
> URL:
> Project: Avro
> Issue Type: Bug
> Components: java
> Reporter: Doug Cutting
> Assignee: Doug Cutting
> Fix For: 1.7.5
>
> Attachments: AVRO-1295.patch
>
>
> If a record with a null namespace is nested within a record with a non-null namespace
then, when the outer schema is printed and re-parsed, the inner schema's namespace becomes
the outer, rather than null as it should be.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: