[
https://issues.apache.org/jira/browse/AVRO-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleksandr Shulgin updated AVRO-1669:
------------------------------------
Attachment: avro-schema-from-json-logical-type-example.c
Example code to reproduce the issue.
> 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
> Attachments: avro-schema-from-json-logical-type-example.c
>
>
> 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)