HyukjinKwon commented on a change in pull request #29818: URL: https://github.com/apache/spark/pull/29818#discussion_r504401223
########## File path: python/pyspark/sql/pandas/serializers.py ########## @@ -90,7 +90,10 @@ def load_stream(self, stream): import pyarrow as pa reader = pa.ipc.open_stream(stream) for batch in reader: - yield batch + split_batch = pa.RecordBatch.from_arrays([ + pa.concat_arrays([array]) for array in batch + ], schema=batch.schema) Review comment: Sorry for asking a question without taking a close look but would you mind elaborating why we should do this? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org