jdarais opened a new issue, #378: URL: https://github.com/apache/avro-rs/issues/378
According to the avro spec, Duration [is a fixed type](https://avro.apache.org/docs/1.12.0/specification/#duration), and fixed types are [required to have a name](https://avro.apache.org/docs/1.12.0/specification/#fixed). Should `Schema::Duration` contain a `FixedSchema` like other logical types that can use fixed as the underlying type like `Schema::Decimal` and `Schema::Uuid`? It can almost do without, since the fixed type's size is required to be 12 for the duration logical type, but it seems we still need a place to store name and namespace, otherwise that information will be lost at parsing time. I'm happy to submit a PR for this, just wanted to check in case there's a reason Duration doesn't contain a FixedSchema already. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
