You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Skye Wanderman-Milne (JIRA)" <ji...@apache.org> on 2013/06/06 19:41:21 UTC

[jira] [Created] (AVRO-1346) C++: schema parser cannot parse verbose primitive types

Skye Wanderman-Milne created AVRO-1346:
------------------------------------------

             Summary: 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
            Reporter: Skye Wanderman-Milne


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