avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Walsh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1902) C: namespace "" should mean namespace = NULL
Date Tue, 30 Aug 2016 08:30:21 GMT

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

Ben Walsh updated AVRO-1902:
----------------------------
    Status: Patch Available  (was: Open)

> 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)

Mime
View raw message