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

   ### What changes were proposed in this pull request?
   
   Removes the now-unused `ArrowStreamUDFSerializer` class from 
`python/pyspark/sql/pandas/serializers.py`, and updates two stale docstring 
references to it in `conversion.py` (`ArrowBatchTransformer.flatten_struct` / 
`wrap_struct`).
   
   After the PythonEvalType refactor moved serializer construction into 
`worker.py` and its last subclass `TransformWithStateInPySparkRowSerializer` 
was removed (SPARK-58297), `ArrowStreamUDFSerializer` has no remaining runtime 
users. The `flatten_struct` / `wrap_struct` transformer methods it used to call 
are retained -- they are still used directly by the Arrow UDF mappers in 
`worker.py`.
   
   ### Why are the changes needed?
   
   Dead-code cleanup. Part of SPARK-55388.
   
   ### 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