Avro logical types, unions and aliases are kept
An Avro catalog item now holds the whole of an Avro 1.12 schema's types: every logical type, every union member, and the aliases, sort order and enum default a schema evolves by. What the catalog item holds.
- Every logical type.
timestamp-nanos,local-timestamp-micros,big-decimalanddurationjoindate,uuid,decimaland the rest, on a plain field, on a nullable one (["null", {"type": "long", "logicalType": "timestamp-millis"}]) and on a namedfixed. - Ignored when invalid. A logical type Avro does not know, or one written on the wrong type, is read as its plain type and marked, as the Avro specification requires.
- Unions keep their members.
["Cat", "Dog"],{"type": "long"}and map branches each become their own member instead ofstring. - Evolution metadata on
.avsc. An enum'sdefault,aliasesand a field'sorderare kept, so editing them creates a new version and an Avro export writes them back.
