brimdata / zync

Kafka connector to sync Zed lakes to and from Kafka topics
BSD 3-Clause "New" or "Revised" License
18 stars 3 forks source link

handle Avro union with null second type in zavro #36

Closed nwt closed 2 years ago

nwt commented 2 years ago

When decoding a union of null and a second type, zavro incorrectly assumes that null is always the first type in the union. Remove that assumption.