Yicong-Huang opened a new pull request, #53974: URL: https://github.com/apache/spark/pull/53974
### What changes were proposed in this pull request? This PR removes `GroupArrowUDFSerializer` by moving the `flatten_struct` call from the serializer to the mapper in `worker.py`. ### Why are the changes needed? This is part of [SPARK-55159](https://issues.apache.org/jira/browse/SPARK-55159) Phase 3: simplifying serializer hierarchy by moving transformations to other layer. `GroupArrowUDFSerializer` existed only to add a `flatten_struct` call in `load_stream`, inheriting everything else from `ArrowStreamGroupUDFSerializer`. This created an unnecessary inheritance layer. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests. ### 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]
