Skip to content

SparkSession.Builder

Creating Instance

Builder takes no arguments to be created.

Builder is created when:

  • SparkSession is requested for one

getOrCreate

getOrCreate(
  self) -> "SparkSession"

With SPARK_REMOTE environment variable or spark.remote configuration property defined, getOrCreate...FIXME

getOrCreate _instantiatedSession.

Unless SparkSession is already created, getOrCreate creates one.