Share via


SparkSession.SetDefaultSession(SparkSession) Method

Definition

Sets the default SparkSession that is returned by the builder.

public static void SetDefaultSession (Microsoft.Spark.Sql.SparkSession session);
static member SetDefaultSession : Microsoft.Spark.Sql.SparkSession -> unit
Public Shared Sub SetDefaultSession (session As SparkSession)

Parameters

session
SparkSession

SparkSession object

Applies to