Oharra
Baimena behar duzu orria atzitzeko. Direktorioetan saioa has dezakezu edo haiek alda ditzakezu.
Baimena behar duzu orria atzitzeko. Direktorioak alda ditzakezu.
Restablece la propiedad de configuración de la clave especificada.
Sintaxis
unset(key: str)
Parámetros
| Parámetro | Tipo | Descripción |
|---|---|---|
key |
str | Clave de la configuración que se va a anular. |
Ejemplos
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...