You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2018/11/21 15:03:00 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 ]

Daniel Kulp updated AVRO-1902:
------------------------------
       Resolution: Fixed
         Assignee: Daniel Kulp
    Fix Version/s: 1.9.0
           Status: Resolved  (was: Patch Available)

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