allisonwang-db commented on code in PR #41867:
URL: https://github.com/apache/spark/pull/41867#discussion_r1260421186
##########
python/pyspark/sql/pandas/serializers.py:
##########
@@ -454,6 +474,74 @@ def __repr__(self):
return "ArrowStreamPandasUDFSerializer"
+class ArrowStreamPandasUDTFSerializer(ArrowStreamPandasUDFSerializer):
Review Comment:
I created a new serializer, rather than modifying the PandasUDFSerializer,
to avoid any risk of inadvertently changing the behavior of pandas UDFs. cc
@HyukjinKwon @ueshin @xinrong-meng
--
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]