allisonwang-db commented on code in PR #53976:
URL: https://github.com/apache/spark/pull/53976#discussion_r2729092302


##########
python/pyspark/sql/pandas/serializers.py:
##########
@@ -180,6 +180,31 @@ def _load_group_dataframes(self, stream, num_dfs: int = 1):
                     messageParameters={"dataframes_in_group": 
str(dataframes_in_group)},
                 )
 
+    def _write_stream_start(self, batch_iterator, stream):
+        """
+        Write START_ARROW_STREAM before the first batch, passing batches 
through unchanged.
+

Review Comment:
   Can we also add a comment specifying why START_ARROW_STREAM needs to be sent 
in certain cases?



-- 
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]

Reply via email to