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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to