HyukjinKwon commented on code in PR #38624:
URL: https://github.com/apache/spark/pull/38624#discussion_r1375550162
##########
python/pyspark/sql/pandas/serializers.py:
##########
@@ -162,6 +162,49 @@ def wrap_and_init_stream():
return super(ArrowStreamUDFSerializer,
self).dump_stream(wrap_and_init_stream(), stream)
+class ArrowStreamGroupUDFSerializer(ArrowStreamUDFSerializer):
+ """
+ Serializes pyarrow.RecordBatch data with Arrow streaming format.
+
+ Loads Arrow record batches as `[[pa.RecordBatch]]` (one `[pa.RecordBatch]`
per group)
Review Comment:
```suggestion
Loads Arrow record batches as ``[[pyarrow.RecordBatch]]`` (one
``[pyarrow.RecordBatch]`` per group)
```
--
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]