Felix Hagemans created AVRO-4166:
------------------------------------
Summary: Nullable UUID union breaks serialization
Key: AVRO-4166
URL: https://issues.apache.org/jira/browse/AVRO-4166
Project: Apache Avro
Issue Type: Bug
Components: java
Affects Versions: 1.12.0
Environment: Apache avro 1.12.0
Reporter: Felix Hagemans
It looks like a union type of nullable and UUID breaks in avro 1.12.0.
This works:
{"name": "id", "type": { "type": "string", "logicalType": "uuid" }},
This does not:
{"name": "id", "type": ["null", { "type": "string", "logicalType": "uuid" }]},
It gives the following exception when (binary) serializing the object:
_Unknown datum type java.util.UUID: 4b9feca4-f18d-4ba5-97ee-18fc3a24cc6f_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)