Oleksandr Shulgin created AVRO-1669:
---------------------------------------

             Summary: Schema from JSON drops extra attributes
                 Key: AVRO-1669
                 URL: https://issues.apache.org/jira/browse/AVRO-1669
             Project: Avro
          Issue Type: Bug
          Components: c
    Affects Versions: 1.7.7
            Reporter: Oleksandr Shulgin


Schema produced by avro_schema_from_json can be missing substantial details 
found in the JSON, e.g. logicalType.

The spec says that Decimal logical type can be derived from either fixed or 
bytes type: http://avro.apache.org/docs/1.7.7/spec.html#Decimal

However, after parsing a correct JSON, the resulting schema is missing any 
details of the logical type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to