avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Skye Wanderman-Milne (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1346) C++: schema parser cannot parse verbose primitive types
Date Mon, 17 Jun 2013 18:01:25 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Skye Wanderman-Milne updated AVRO-1346:
---------------------------------------

    Assignee: Skye Wanderman-Milne
      Status: Patch Available  (was: Open)
    
> 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.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

Mime
View raw message