You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 18:45:59 UTC

[GitHub] [beam] kennknowles opened a new issue, #18529: Construct iterators directly if possible to allow spilling to disk

kennknowles opened a new issue, #18529:
URL: https://github.com/apache/beam/issues/18529

   When you construct a collection first and convert it to an iterator you force Spark to evaluate the entire input partition before it can get the first element off the output. This breaks some of the spilling to disk Spark can do otherwise. Instead chain operations on Iterators.
   
   This is only possible in the Java API for Spark 2 and above (and that's my fault from back in my work in the Spark project).
   
   Imported from Jira [BEAM-3290](https://issues.apache.org/jira/browse/BEAM-3290). Original Jira may contain additional context.
   Reported by: holden.


-- 
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: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org