[SPARK-56084][PYTHON] Remove unused ArrowStreamGroupUDFSerializer#55963
Closed
Yicong-Huang wants to merge 1 commit into
Closed
[SPARK-56084][PYTHON] Remove unused ArrowStreamGroupUDFSerializer#55963Yicong-Huang wants to merge 1 commit into
Yicong-Huang wants to merge 1 commit into
Conversation
zhengruifeng
approved these changes
May 19, 2026
zhengruifeng
pushed a commit
that referenced
this pull request
May 19, 2026
### What changes were proposed in this pull request? Delete `ArrowStreamGroupUDFSerializer` from `python/pyspark/sql/pandas/serializers.py`. ### Why are the changes needed? `ArrowStreamGroupUDFSerializer` is no longer used after SPARK-55608 refactored `SQL_GROUPED_MAP_ARROW_UDF` / `SQL_GROUPED_MAP_ARROW_ITER_UDF` to use `ArrowStreamGroupSerializer` directly, and SPARK-56860 removed its only subclass `CogroupArrowUDFSerializer`. This class can be safely deleted. Part of SPARK-55384. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests: `pyspark.sql.tests.arrow.test_arrow_grouped_map`. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #55963 from Yicong-Huang/SPARK-56084/cleanup/grouped-arrow-udf-serializer. Authored-by: Yicong Huang <17627829+Yicong-Huang@users.noreply.github.com> Signed-off-by: Ruifeng Zheng <ruifengz@foxmail.com> (cherry picked from commit 164dbfb) Signed-off-by: Ruifeng Zheng <ruifengz@foxmail.com>
Contributor
|
merged to master/4.x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Delete
ArrowStreamGroupUDFSerializerfrompython/pyspark/sql/pandas/serializers.py.Why are the changes needed?
ArrowStreamGroupUDFSerializeris no longer used after SPARK-55608 refactoredSQL_GROUPED_MAP_ARROW_UDF/SQL_GROUPED_MAP_ARROW_ITER_UDFto useArrowStreamGroupSerializerdirectly, and SPARK-56860 removed its only subclassCogroupArrowUDFSerializer. This class can be safely deleted.Part of SPARK-55384.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing tests:
pyspark.sql.tests.arrow.test_arrow_grouped_map.Was this patch authored or co-authored using generative AI tooling?
No.