docker.presto-product-tests.avro.invalid_default.avro Maven / Gradle / Ivy
Objavro.schema?{"type":"record","name":"invalid_union_default","namespace":"io.trino.test.avroschema","doc":"This schema has columns with illegal null defaults. These should be illegal and are rejected by Avro 1.9.2, but are allowed by Avro 1.8.2 and can be read by Avro 1.10.1.","fields":[{"name":"valid","type":["null","string"],"doc":"A union with a legal null default","default":null},{"name":"invalid","type":["string","null"],"doc":"Invalid: the default of a union should correspond to the first type","default":null}]}avro.codecnull @?c!???5??z???$
valid invalid @?c!???5??z???