You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Herman van Hövell (Jira)" <ji...@apache.org> on 2023/02/24 18:45:00 UTC
[jira] [Created] (SPARK-42563) Implement SparkSession.newSession
Herman van Hövell created SPARK-42563:
-----------------------------------------
Summary: 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
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org