[
https://issues.apache.org/jira/browse/SPARK-44486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-44486.
----------------------------------
Fix Version/s: 3.5.0
4.0.0
Resolution: Fixed
Issue resolved by pull request 42079
[https://github.com/apache/spark/pull/42079]
> Implement PyArrow `self_destruct` feature for `toPandas`
> --------------------------------------------------------
>
> Key: SPARK-44486
> URL: https://issues.apache.org/jira/browse/SPARK-44486
> Project: Spark
> Issue Type: Improvement
> Components: Connect, PySpark
> Affects Versions: 4.0.0
> Reporter: Xinrong Meng
> Assignee: Xinrong Meng
> Priority: Major
> Fix For: 3.5.0, 4.0.0
>
>
> Implement PyArrow `self_destruct` feature for `toPandas`
> To make the Spark configuration
> `spark.sql.execution.arrow.pyspark.selfDestruct.enabled` be used to enable
> PyArrow’s `self_destruct` feature in Spark Connect, which can save memory
> when creating a Pandas DataFrame via `toPandas` by freeing Arrow-allocated
> memory while building the Pandas DataFrame.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]