[
https://issues.apache.org/jira/browse/SPARK-42563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herman van Hövell resolved SPARK-42563.
---------------------------------------
Resolution: Duplicate
> Implement SparkSession.newSession
> ---------------------------------
>
> Key: SPARK-42563
> URL: https://issues.apache.org/jira/browse/SPARK-42563
> Project: Spark
> Issue Type: New Feature
> Components: Connect
> Affects Versions: 3.4.0
> Reporter: Herman van Hövell
> Priority: Major
>
> Implement SparkSession.newSession for Connect.
> {code:java}
> /**
> * Start a new session with isolated SQL configurations, temporary tables,
> registered
> * functions are isolated, but sharing the underlying `SparkContext` and
> cached data.
> *
> * @note Other than the `SparkContext`, all shared state is initialized
> lazily.
> * This method will force the initialization of the shared state to ensure
> that parent
> * and child sessions are set up with the same shared state. If the
> underlying catalog
> * implementation is Hive, this will initialize the metastore, which may take
> some time.
> *
> * @since 2.0.0
> */
> def newSession(): SparkSession {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]