avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1663) C Library does not handle enum's namespace
Date Wed, 20 Jan 2016 11:30:40 GMT

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

Tom White commented on AVRO-1663:
---------------------------------

[~martinkl], yes the process is the one on the wiki that you linked to. I wonder what the
best way would be for the release manager to find out what the C version should be, given
that they might not know if functions have been added, backwards compatibility has been broken,
etc? What should the version be for the 1.8.0 release?

Also, I noticed that this has not been merged into the 1.8.0 branch, nor have AVRO-1769 or
AVRO-1691. Should they be? Let me know if you'd like me to do it.

> C Library does not handle enum's namespace
> ------------------------------------------
>
>                 Key: AVRO-1663
>                 URL: https://issues.apache.org/jira/browse/AVRO-1663
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.7.7
>            Reporter: Thomas Sanchez
>            Assignee: Martin Kleppmann
>             Fix For: 1.8.0
>
>         Attachments: AVRO-1663-2.patch, AVRO-1663-3.patch, AVRO-1663-4.patch, AVRO-1663.patch
>
>
> {code}{
>   "type": "record",
>   "name": "EventName",
>   "namespace": "com.company.avro.schemas",
>   "fields": [
>     {"name": "eventname_model",
>      "type": {
>        "type": "enum",
>        "namespace": "com.company.models",
>        "name": "EventName",
>        "symbols": ["XXXX"]
>      }
>     }
>  ]
> }
> {code}
> Such a schema is perfectly valid but the C library does no handle it because it does
not parse the namespace field.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message