[
https://issues.apache.org/jira/browse/SPARK-61183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-61183:
---------------------------------
Fix Version/s: connect-rust-4.3.0
> Give back the SparkSession object of a DataFrame in DataFrame.sparkSession,
> in the Python client as PySpark does
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-61183
> URL: https://issues.apache.org/jira/browse/SPARK-61183
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: connect-rust-4.3.0
> Reporter: Hyukjin Kwon
> Priority: Major
> Fix For: connect-rust-4.3.0
>
>
> PySpark's DataFrame.sparkSession gives back the SparkSession object of the
> DataFrame: df.sparkSession is spark, and so are the sessions of the
> DataFrames derived from it, and df.sparkSession.client is spark.client. The
> Python client's DataFrame.sparkSession (and DataFrame._session) makes a new
> SparkSession object on each access: df.sparkSession is spark and
> df.sparkSession == spark are False, its streams and client are other objects,
> and attributes set on the session are not on it.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]