You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/02/13 00:38:00 UTC
[jira] [Updated] (SPARK-55506) Pass explicit input_type (Spark schema) to CogroupPandasUDFSerializer
[ https://issues.apache.org/jira/browse/SPARK-55506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-55506:
-----------------------------------
Labels: pull-request-available (was: )
> Pass explicit input_type (Spark schema) to CogroupPandasUDFSerializer
> ---------------------------------------------------------------------
>
> Key: SPARK-55506
> URL: https://issues.apache.org/jira/browse/SPARK-55506
> Project: Spark
> Issue Type: Sub-task
> Components: PySpark
> Affects Versions: 4.2.0
> Reporter: Yicong Huang
> Priority: Major
> Labels: pull-request-available
>
> Currently CogroupPandasUDFSerializer is constructed without input_type in worker.py, so _input_type defaults to None. This means ArrowBatchTransformer.to_pandas cannot use the Spark schema for type-aware Arrow-to-Pandas conversion in cogroup UDFs.
> We should explicitly build and pass the Spark schema from worker.py, consistent with how other serializers (e.g. ArrowStreamPandasUDFSerializer, ApplyInPandasWithStateSerializer) receive their input_type.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org