devin-petersohn commented on PR #53391:
URL: https://github.com/apache/spark/pull/53391#issuecomment-3635010989

   >For the implemtation itself, _get_arrow_array_partition_stream a bit 
difficult to follow. It seems like the function is transforming a 
pyarrow.RecordBatch to a pyarrow.RecordBatch. I don't quite understand why it 
needs to convert the data in different formats then yield the same type as the 
input.
   
   This is a requirement of Pyspark `mapInArrow` 
(https://github.com/apache/spark/pull/53391/files#diff-464b2c763de6d4a4d1bc63e7bd5816e786ad5e501ddcceb5df96408c72351cb3R36).


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