pyspark.sql.SparkSession.builder.create¶
-
builder.
create
() → pyspark.sql.session.SparkSession¶ Creates a new SparkSession. Can only be used in the context of Spark Connect and will throw an exception otherwise.
New in version 3.5.0.
- Returns
SparkSession
Notes
This method will update the default and/or active session if they are not set.