[
https://issues.apache.org/jira/browse/AVRO-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thiruvalluvan M. G. updated AVRO-1346:
--------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Committed revision 1495109. Thank you kye Wanderman-Milne.
> C++: schema parser cannot parse verbose primitive types
> -------------------------------------------------------
>
> Key: AVRO-1346
> URL: https://issues.apache.org/jira/browse/AVRO-1346
> Project: Avro
> Issue Type: Bug
> Components: c++
> Affects Versions: 1.7.4
> Reporter: Skye Wanderman-Milne
> Assignee: Skye Wanderman-Milne
> Attachments: AVRO-1346.2.patch, AVRO-1346.3.patch, AVRO-1346.patch
>
>
> The Avro C++ library's schema parser currently throws an "Unknown additional
> Json fields" exception if a primitive type is not represented as a string
> literal. As per
> http://avro.apache.org/docs/current/spec.html#schema_primitive, primitive
> types can be defined as e.g. "\{type: string\}" or "string". Extra attributes
> are allowed too, e.g. "\{"avro.java.string":"String","type":"string"\}" (from
> the spec: "Attributes not defined in this document are permitted as metadata,
> but must not affect the format of serialized data.").
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira