We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43ecd30 commit 1ecb766Copy full SHA for 1ecb766
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
@@ -1091,7 +1091,8 @@ class SQLConf extends Serializable with Logging {
1091
1092
if (Utils.isTesting && SparkEnv.get != null) {
1093
// assert that we're only accessing it on the driver.
1094
- assert(SparkEnv.get.executorId == SparkContext.DRIVER_IDENTIFIER)
+ assert(SparkEnv.get.executorId == SparkContext.DRIVER_IDENTIFIER,
1095
+ "SQLConf should only be created and accessed on the driver.")
1096
}
1097
1098
/** Only low degree of contention is expected for conf, thus NOT using ConcurrentHashMap. */
0 commit comments