Yicong-Huang opened a new pull request, #56754:
URL: https://github.com/apache/spark/pull/56754

   ### What changes were proposed in this pull request?
   
   Refactor `SQL_GROUPED_AGG_PANDAS_ITER_UDF` to use 
`ArrowStreamGroupSerializer` as a pure I/O layer, moving all processing logic 
into a dedicated function in `read_udfs()` in `worker.py`. This mirrors the 
Arrow path done in SPARK-56123 for `SQL_GROUPED_AGG_ARROW_ITER_UDF`. The old 
`ArrowStreamAggPandasUDFSerializer` and `wrap_grouped_agg_pandas_iter_udf` are 
no longer used and are removed from `worker.py` (the serializer class itself is 
removed in a follow-up).
   
   ### Why are the changes needed?
   
   Part of SPARK-55388. `SQL_GROUPED_AGG_PANDAS_ITER_UDF` was the last consumer 
of `ArrowStreamAggPandasUDFSerializer`; this migration unblocks deleting that 
serializer.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Existing tests. No behavior change.
   
   ASV benchmark comparison (GroupedAggPandasIterUDFTimeBench) to follow.
   
   ### 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]

Reply via email to