Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.11.1
-
None
-
None
Description
If a union type of null and logical type of uuid is used, Avro will try to decode the object as a UUID and create a TypeError exception, which is not caught.
Example Schema:
{ "name": "userId", "type": [ "null", { "type": "string", "logicalType": "uuid" } ] }
if the example schema is given a userId of None then the application will stop with an uncaught exception.
Attachments
Issue Links
- duplicates
-
AVRO-3761 UUID validation breaks nullable field
- Closed