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:30:21 UTC

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

     [ https://issues.apache.org/jira/browse/AVRO-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Walsh updated AVRO-1902:
----------------------------
    Description: 
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"}
]}
```

  was:
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"}
]}
```


> 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 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
(v6.3.4#6332)