Closed cpcloud closed 4 years ago
@AustinHunt according to https://github.com/apache/avro/pull/329/files#diff-fd4b8a3427b9b38bda3e310e0871378c, the correct way to specify nullable logical types is not with
{"type": ["null", "long"], "logicalType": "timestamp-micros"}
but with
{"type": ["null", {"type": "long", "logicalType": "timestamp-micros"}]}
This can currently be parsed successfully by avro-rs
. I'm investigating read/write paths for this now.
cc @AustinHunt
This prevents nullable logical type values from being written.