You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "Yicong-Huang (via GitHub)" <gi...@apache.org> on 2026/07/17 08:08:17 UTC

[PR] [SPARK-58190][PYTHON] Delete unused TransformWithStateInPandasInitStateSerializer [spark]

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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-58190][PYTHON] Delete unused TransformWithStateInPandasInitStateSerializer [spark]

Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang commented on PR #57331:
URL: https://github.com/apache/spark/pull/57331#issuecomment-5024965681

   **Merge Summary:**
   - merged into master https://github.com/apache/spark/commit/2695dcde4e4f7d0133c1c798c74aff39de0a858e
   - merged into branch-4.x https://github.com/apache/spark/commit/c7d354abcd65ede10df56b0c9797677b8eed9185
   
   *Posted by `merge_spark_pr.py`*


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-58190][PYTHON] Delete unused TransformWithStateInPandasInitStateSerializer [spark]

Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang closed pull request #57331: [SPARK-58190][PYTHON] Delete unused TransformWithStateInPandasInitStateSerializer
URL: https://github.com/apache/spark/pull/57331


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org