AVRO-4332: [java] Add support for enum default values in IDL serialization IdlUtils.writeSchema did not emit the enum default when serializing a schema to IDL, even though IdlReader parses it. As a result, an enum default was silently dropped when round-tripping a schema through IDL. Append "= <default>;" after the enum body when the schema has a default, matching the IDL grammar (RBrace defaultSymbol=enumDefault?), and add tests covering the with-default, without-default and write-then-parse round-trip cases.
[!IMPORTANT]
The Rust SDK is moving to https://github.com/apache/avro-rs. Please use it for new issues and pull requests!
Apache Avro™ is a data serialization system.
Learn more about Avro, please visit our website at:
To contribute to Avro, please read:
https://cwiki.apache.org/confluence/display/AVRO/How+To+Contribute
You can use devcontainers to develop Avro:
Apache®, Apache Avro and the Apache Avro airplane logo are trademarks of The Apache Software Foundation.
The Apache Avro airplane logo on this page has been designed by Emma Kellam for use by this project.