RESET

說明

RESET 指令會將特定於目前階段的執行時期組態重設為預設值,這些組態是透過 SET 指令設定的。

語法

RESET;

RESET configuration_key;

參數

範例

-- Reset any runtime configurations specific to the current session which were set via the SET command to their default values.
RESET;

-- If you start your application with --conf spark.foo=bar and set spark.foo=foobar in runtime, the example below will restore it to 'bar'. If spark.foo is not specified during starting, the example below will remove this config from the SQLConf. It will ignore nonexistent keys.
RESET spark.abc;