avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleksandr Shulgin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1669) Schema from JSON drops extra attributes
Date Mon, 11 May 2015 10:21:59 GMT
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

View raw message