zshao9 opened a new pull request, #46691:
URL: https://github.com/apache/spark/pull/46691

   ### What changes were proposed in this pull request?
   This simple PR adds a parameter `batchSize` to the underlying `javaToPython` 
function.  This parameter is already available on `pairRDDToPython`.  
   
   ### Why are the changes needed?
   With this, pyspark program can decide to use a different batch size when the 
default AutoBatchPickler ends up with 2GB exceeded error as in the JIRA ticket: 
https://issues.apache.org/jira/browse/SPARK-48380
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### How was this patch tested?
   mvn test
   (still testing)
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.


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