Skip to content

[SPARK-58262][PYTHON] Remove ArrowStreamPandasUDFSerializer#57433

Open
Yicong-Huang wants to merge 1 commit into
apache:masterfrom
Yicong-Huang:SPARK-58262
Open

[SPARK-58262][PYTHON] Remove ArrowStreamPandasUDFSerializer#57433
Yicong-Huang wants to merge 1 commit into
apache:masterfrom
Yicong-Huang:SPARK-58262

Conversation

@Yicong-Huang

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Remove the ArrowStreamPandasUDFSerializer class from python/pyspark/sql/pandas/serializers.py.

Why are the changes needed?

All non-grouped Pandas eval types (SQL_SCALAR_PANDAS_UDF, SQL_SCALAR_PANDAS_ITER_UDF, SQL_MAP_PANDAS_ITER_UDF) were refactored to use ArrowStreamSerializer with ArrowBatchTransformer, and the last remaining subclass ApplyInPandasWithStateSerializer was removed in SPARK-58243. The class no longer has any instantiation sites, so it can be removed.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants