Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1717

[Github] Support for optional fields when converting json to avro

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • java
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            wojtkiewicz Bartosz Wojtkiewicz
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: