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

   ### What changes were proposed in this pull request?
   
   Remove the unused `ArrowStreamPandasSerializer` base class. After all Pandas 
UDF serializer subclasses were removed (`ArrowStreamPandasUDFSerializer`, 
`GroupPandasUDFSerializer`, `ArrowStreamAggPandasUDFSerializer`, 
`ApplyInPandasWithStateSerializer`, `CogroupPandasUDFSerializer`, 
`TransformWithStateInPandasSerializer`), the base class became an orphan with 
no subclasses, no instantiations, and no other references anywhere in the 
Python tree. This also drops the now-orphaned `_normalize_packed` helper (only 
used by that class) and the imports that are no longer needed.
   
   ### Why are the changes needed?
   
   Dead code cleanup. The class and its sole helper are unreachable.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Existing tests. No behavior change.
   
   ### 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