Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.4
-
None
-
None
Description
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.").