martin-g commented on PR #2474: URL: https://github.com/apache/avro/pull/2474#issuecomment-1702415475
This change goes against the specification - https://avro.apache.org/docs/1.11.1/specification/#unions ``` (Note that when a [default value](https://avro.apache.org/docs/1.11.1/specification/#schema-record) is specified for a record field whose type is a union, the type of the default value must match the first element of the union. Thus, for unions containing “null”, the “null” is usually listed first, since the default value of such unions is typically null.) ``` You better start a discussion at [email protected] about the change in the behavior. -- 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]
