[ https://issues.apache.org/jira/browse/AVRO-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16703814#comment-16703814 ]
ASF GitHub Bot commented on AVRO-1902: -------------------------------------- walshb commented on issue #158: AVRO-1902: C: Namespace "" means space = NULL. URL: https://github.com/apache/avro/pull/158#issuecomment-442992415 @dkulp That is awesome! Thank you very much! Sorry to trouble you further, but please would you mind taking a look at some other Avro-C pull requests? https://github.com/apache/avro/pull/398 https://github.com/apache/avro/pull/159 https://github.com/apache/avro/pull/160 Thanks again. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > C: namespace "" should mean namespace = NULL > -------------------------------------------- > > Key: AVRO-1902 > URL: https://issues.apache.org/jira/browse/AVRO-1902 > Project: Apache Avro > Issue Type: Bug > Components: c > Reporter: Ben Walsh > Assignee: Daniel Kulp > Priority: Minor > Fix For: 1.9.0 > > Attachments: AVRO-1902.patch > > > Similar to AVRO-1295 but for the C library. Namespace "" should be the NULL > namespace when the schema is parsed. For example this breaks: > ``` > {"type": "record", "name": "R", "fields": [ > {"name": "s", "type": {"type": "record", "namespace": "x", "name": "Y", > "fields": [ > {"name": "e", "type": {"type": "record", "namespace": "", "name": "Z", > "fields": [ > {"name": "f", "type": "Z"} > ]}} > ]}}, > {"name": "t", "type": "Z"} > ]} > ``` -- This message was sent by Atlassian JIRA (v7.6.3#76005)