Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
This is a follow-up for an issue found through rsgen-avro:
https://github.com/lerouxrgd/rsgen-avro/pull/60#issuecomment-1884938904
As mentioned in the thread, apache-avro 0.16.0 cannot parse this schema anymore:
{ "type": "record", "name": "DateLogicalType", "fields": [ { "name": "birthday", "type": {"type": "int", "logicalType": "date"}, "default": 1681601653 } ] }
The issue is specifically the default value of the birthday field.
However this one is fine:
{ "type": "record", "name": "DateLogicalType", "fields": [ { "name": "release_datetime_micro", "type": {"type": "long", "logicalType": "timestamp-micros"}, "default": 1570903062000000 } ] }
Attachments
Issue Links
- links to