PySpark referenceClassesRuntimeConfigsetOn this pageset Sets the given Spark runtime configuration property. Syntax set(key: str, value: str | int | bool) Parameters ParameterTypeDescriptionkeystrKey of the configuration to set.valuestr, int, or boolValue of the configuration to set. Examples Pythonspark.conf.set("key1", "value1")