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

   ### What changes were proposed in this pull request?
   
   Delete the now-unused `TransformWithStateInPandasInitStateSerializer` class 
from `serializers.py`. 
[SPARK-58128](https://issues.apache.org/jira/browse/SPARK-58128) moved its 
per-eval-type logic into `read_udfs()` in `worker.py` and switched 
`SQL_TRANSFORM_WITH_STATE_PANDAS_INIT_STATE_UDF` to the plain 
`ArrowStreamSerializer`, leaving this class with no references. This is the 
follow-up cleanup that PR promised.
   
   ### Why are the changes needed?
   
   Part of [SPARK-55388](https://issues.apache.org/jira/browse/SPARK-55388). 
Removing the dead serializer keeps serializers as pure Arrow stream I/O with 
eval-type-specific logic concentrated in `worker.py`.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Existing tests. No behavior change: the class had no remaining references 
(verified repo-wide), and the `SQL_TRANSFORM_WITH_STATE_PANDAS_INIT_STATE_UDF` 
path already runs through `worker.py` after SPARK-58128.
   
   ### 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