[
https://issues.apache.org/jira/browse/SPARK-27659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
holdenk resolved SPARK-27659.
-----------------------------
Fix Version/s: 3.0.0
Assignee: holdenk
Resolution: Fixed
> Allow PySpark toLocalIterator to prefetch data
> ----------------------------------------------
>
> Key: SPARK-27659
> URL: https://issues.apache.org/jira/browse/SPARK-27659
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 3.0.0
> Reporter: Bryan Cutler
> Assignee: holdenk
> Priority: Minor
> Fix For: 3.0.0
>
>
> In SPARK-23961, data was no longer prefetched so that the local iterator
> could close cleanly in the case of not consuming all of the data. If the user
> intends to iterate over all elements, then prefetching data could bring back
> any lost performance. We would need to run some tests to see if the
> performance is worth it due to additional complexity and extra usage of
> memory. The option to prefetch could adding as a user conf, and it's possible
> this could improve the Scala toLocalIterator also.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]