withSpark
Wrapper for spark creation which allows setting different spark params.
Parameters
spark options, value types are runtime-checked for type-correctness
Sets the Spark master URL to connect to, such as "local" to run locally, "local4" to run locally with 4 cores, or "spark://master:7077" to run on a Spark standalone cluster. By default, it tries to get the system value "spark.master", otherwise it uses "local*"
Sets a name for the application, which will be shown in the Spark web UI. If no application name is set, a randomly generated name will be used.
Control our logLevel. This overrides any user-defined log settings.
function which will be executed in context of KSparkSession (it means that this
inside block will point to KSparkSession)
Wrapper for spark creation which allows setting different spark params.
Parameters
A SparkSession.Builder object, configured how you want.
Control our logLevel. This overrides any user-defined log settings.
function which will be executed in context of KSparkSession (it means that this
inside block will point to KSparkSession)
Wrapper for spark creation which copies params from sparkConf.
Parameters
Sets a list of config options based on this.
Control our logLevel. This overrides any user-defined log settings.
function which will be executed in context of KSparkSession (it means that this
inside block will point to KSparkSession)