You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Oleksandr Shulgin (Jira)" <ji...@apache.org> on 2020/06/08 13:24:00 UTC

[jira] [Reopened] (AVRO-1669) Schema from JSON drops extra attributes

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

Oleksandr Shulgin reopened AVRO-1669:
-------------------------------------

The change committed in #913 doesn't seem to be related to this issue (PHP null fields?).

> Schema from JSON drops extra attributes
> ---------------------------------------
>
>                 Key: AVRO-1669
>                 URL: https://issues.apache.org/jira/browse/AVRO-1669
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.7.7
>            Reporter: Oleksandr Shulgin
>            Assignee: Siad Ardroumli
>            Priority: Major
>             Fix For: 1.10.0
>
>         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
(v8.3.4#803005)