yihua opened a new pull request, #17554: URL: https://github.com/apache/hudi/pull/17554
### Describe the issue this Pull Request addresses Simplify the codebase by removing the `getAvroSchemaConverters` API from the `SparkAdapter` trait. The Avro schema converters are now accessed directly via `HoodieSparkAvroSchemaConverters` static methods instead of going through the Spark adapter indirection. ### Summary and Changelog This refactoring removes an unnecessary layer of abstraction in the Spark adapter for Avro schema converters. - Moves `HoodieSparkAvroSchemaConverters.scala` and `SchemaConverters.scala` from `hudi-spark-common` to `hudi-spark-client` - Removes `getAvroSchemaConverters` method from SparkAdapter trait - Removes implementations from `BaseSpark3Adapter` and `BaseSpark4Adapter` - Updated all call sites to use `HoodieSparkAvroSchemaConverters` directly ### Impact No public API or user-facing changes. This is an internal refactoring that simplifies code paths for Avro-Spark schema conversions. ### Risk Level none ### Documentation Update none ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Enough context is provided in the sections above - [ ] Adequate tests were added if applicable -- 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]
