You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Bartosz Wojtkiewicz (JIRA)" <ji...@apache.org> on 2015/08/12 15:23:45 UTC

[jira] [Created] (AVRO-1717) [Github] Support for optional fields when converting json to avro

Bartosz Wojtkiewicz created AVRO-1717:
-----------------------------------------

             Summary: [Github] Support for optional fields when converting json to avro
                 Key: AVRO-1717
                 URL: https://issues.apache.org/jira/browse/AVRO-1717
             Project: Avro
          Issue Type: Bug
            Reporter: Bartosz Wojtkiewicz


Currently there is an issue when we want to convert json object to avro using schema that allows optional fields (fields of type 'null'). When json object does not explicitly have such field with 'null' value then is treated as not conforming to schema. I added few test cases that illustrate this problem.

PR: https://github.com/apache/avro/pull/47



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