Share via


Builder.GetOrCreate Method

Definition

Gets an existing [[SparkSession]] or, if there is no existing one, creates a new one based on the options set in this builder.

public Microsoft.Spark.Sql.SparkSession GetOrCreate ();
member this.GetOrCreate : unit -> Microsoft.Spark.Sql.SparkSession
Public Function GetOrCreate () As SparkSession

Returns

Applies to