sarutak opened a new pull request, #2481: URL: https://github.com/apache/avro/pull/2481
AVRO-3851 ## What is the purpose of the change This PR proposes to improve the functionality of parsing default values for record fields and enums. Currently, default values for record fields are validated on parsing only if their types are `union`. It's nice to apply such validation for other types. Similarly, default values for `enum` are not also validated on parsing now. So this PR changes parser functionality to validate default values for record fields and enums. ## Verifying this change Added new tests. ## Documentation - Does this pull request introduce a new feature? (no) -- 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]
