[ 
https://issues.apache.org/jira/browse/AVRO-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668060#comment-15668060
 ] 

ASF GitHub Bot commented on AVRO-1902:
--------------------------------------

GitHub user walshb opened a pull request:

    https://github.com/apache/avro/pull/158

    AVRO-1902: C: Namespace "" means space = NULL.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/walshb/avro avro-1902-c-namespace-null

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/avro/pull/158.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #158
    
----
commit 54a05269d4f275afc5d55766ab230739b163d3b8
Author: Ben Walsh <[email protected]>
Date:   2013-05-17T10:11:08Z

    C: Namespace "" means space = NULL.

----


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

Reply via email to