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
.
1 2 3 4 5 6 7 8 9 |
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
1 2 3 4 5 6 |
get(key: String): String get(key: String, default: String): String |
get
…FIXME
Note
|
get is used when…FIXME
|
getOption
Method
1 2 3 4 5 |
getOption(key: String): Option[String] |
getOption
…FIXME
Note
|
getOption is used when…FIXME
|