Memo for Avro Schema

less than 1 minute read

Avro schema constraints

Nullable and default values

{
  "name": "AvroMapEntity",
  "fields": [
    {
      "name": "mapField",
      "type": [ "null",
        {
          "type": "map",
          "values": "int"
        }
      ],
      "default": null
    }
  ]
}

Updated:

Comments