Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a new SparkSession. This method sets this session as the default or active session.
Alternatively, use getOrCreate to check for and use an existing session before creating a new one.
Syntax
create()
Returns
SparkSession
Examples
spark = SparkSession.builder.config("k1", "v1").create()