Uploaded image for project: 'Kafka Connector'
  1. Kafka Connector
  2. KAFKA-270

Avro schema validation doesn't validate Union types

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The following code would not trigger the validation exception for the unsupported enum type:

      {"type": "record", "name": "unionTest1",
        "fields": [{"name": "unionField",
           "type": ["null", {"type": "enum", "symbols" : ["ONE", "TWO", "THREE"]}]
           }]
      }
      

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: