You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2018/12/28 16:26:01 UTC

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

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

Thiruvalluvan M. G. closed AVRO-1346.
-------------------------------------

Closing issues that got resolved in earlier releases.

> C++: schema parser cannot parse verbose primitive types
> -------------------------------------------------------
>
>                 Key: AVRO-1346
>                 URL: https://issues.apache.org/jira/browse/AVRO-1346
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.7.4
>            Reporter: Skye Wanderman-Milne
>            Assignee: Skye Wanderman-Milne
>            Priority: Major
>         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 was sent by Atlassian JIRA
(v7.6.3#76005)