iemejia opened a new pull request, #58081: URL: https://github.com/apache/spark/pull/58081
### What changes were proposed in this pull request? Upgrade Apache Avro from 1.12.1 to 1.12.2. This bumps `avro.version` in `pom.xml`, `SparkBuild.scala`, and the Hadoop 3 deps manifest, and updates the versioned links in the Avro docs/options. Avro 1.12.2 hardens deserialization of `Schema` objects behind an allow-list (`org.apache.avro.SERIALIZABLE_PACKAGES`), so the build now sets that system property to `org.apache.spark` for tests (Maven surefire/scalatest and SBT). `AvroFunctionsSuite` is updated: since AVRO-4257, a `Schema` deserialized on executors is parsed with the non-validating internal parser, so a reader schema carrying an unused invalid default is no longer re-validated and the read now succeeds. This is consistent with SPARK-39775. ### Why are the changes needed? Keep the Avro dependency current with the latest 1.12.x patch release. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing Avro/Hive test suites. ### Was this patch authored or co-authored using generative AI tooling? 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
