yshcz commented on issue #368: URL: https://github.com/apache/avro-rs/issues/368#issuecomment-3661561395
hi @martin-g The spec also says `Attributes not defined in this document are permitted as metadata, but must not affect the format of serialized data.`. I'm not a spec-lawyer, but I think it's reasonable to interpret this as: primitives have no "specified" attributes, but can still have attributes that are "not defined in the spec". Python and C# impls had similar issues(https://issues.apache.org/jira/browse/AVRO-1545, https://issues.apache.org/jira/browse/AVRO-2862) The Java impl has a specific test for this case https://github.com/apache/avro/blob/release-1.12.1/lang/java/avro/src/test/java/org/apache/avro/TestSchemaBuilder.java#L92-L97 -- 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]
