You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ben Walsh (JIRA)" <ji...@apache.org> on 2016/08/30 08:28:20 UTC

[jira] [Created] (AVRO-1902) C: namespace "" should mean namespace = NULL

Ben Walsh created AVRO-1902:
-------------------------------

             Summary: C: namespace "" should mean namespace = NULL
                 Key: AVRO-1902
                 URL: https://issues.apache.org/jira/browse/AVRO-1902
             Project: Avro
          Issue Type: Bug
          Components: c
            Reporter: Ben Walsh
            Priority: Minor


Similar to AVRO-1295. 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
(v6.3.4#6332)