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;