get(key: String): String
get(key: String, default: String): String
RuntimeConfig — Management Interface of Runtime Configuration
RuntimeConfig
is the management interface of the runtime configuration.
Method | Description |
---|---|
|
|
|
|
|
(New in 2.4.0) |
|
|
|
RuntimeConfig
is available using the conf attribute of a SparkSession
.
scala> :type spark
org.apache.spark.sql.SparkSession
scala> :type spark.conf
org.apache.spark.sql.RuntimeConfig
Figure 1. RuntimeConfig, SparkSession and SQLConf
RuntimeConfig
takes a SQLConf when created.
get
Method
get(key: String): String
get(key: String, default: String): String
get
…FIXME
Note
|
get is used when…FIXME
|
getOption
Method
getOption(key: String): Option[String]
getOption
…FIXME
Note
|
getOption is used when…FIXME
|