Non défini

Réinitialise la propriété de configuration de la clé donnée.

Syntaxe

unset(key: str)

Paramètres

Paramètre Type Description
key str Clé de la configuration à annuler.

Exemples

spark.conf.set("my_key", "my_value")
spark.conf.get("my_key")
# 'my_value'
spark.conf.unset("my_key")
spark.conf.get("my_key")
# Traceback (most recent call last):
#    ...
# pyspark...SparkNoSuchElementException: ... The SQL config "my_key" cannot be found...