[
https://issues.apache.org/jira/browse/AVRO-1663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Kleppmann updated AVRO-1663:
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
Status: Resolved (was: Patch Available)
Ok, thanks [~dcreager]. I've committed the patch, but not made any change to
the libtool version.
[~tomwhite]: What process have you been using to generate the release
candidates? Is it the one [written up on the
wiki|https://cwiki.apache.org/confluence/display/AVRO/How+To+Release]? If so,
do you think it would be the right place to add a note about updating
{{lang/c/version.sh}}? (Note that we can't use the same as
{{share/VERSION.txt}}, because the library version for libtool's purposes needs
to be [intentionally unrelated to the release
version|https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html].)
> 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)