[
https://issues.apache.org/jira/browse/SPARK-61042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-61042.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 240
[https://github.com/apache/spark-connect-rust/pull/240]
> Return the DataFrame itself from persist, cache and unpersist in the Python
> client as PySpark does
> --------------------------------------------------------------------------------------------------
>
> Key: SPARK-61042
> URL: https://issues.apache.org/jira/browse/SPARK-61042
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: connect-rust-4.3.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
> Fix For: connect-rust-4.3.0
>
>
> In PySpark Connect, {{df.persist(storageLevel)}}, {{df.cache()}} and
> {{df.unpersist(blocking)}} return the DataFrame itself: {{df.persist() is
> df}} is {{True}}.
> The Rust-backed Python client returns a new DataFrame object of the same
> plan, so {{df.persist() is df}} is {{False}}. Return the DataFrame itself as
> PySpark does.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]