RESET
説明
SET コマンドを使用して現在のセッションに固有のランタイム構成をリセットすると、それらの構成はデフォルト値にリセットされます。
構文
RESET;
RESET configuration_key;
パラメーター
-
(なし)
SET コマンドを使用して現在のセッションに固有のランタイム構成をリセットすると、それらの構成はデフォルト値にリセットされます。
-
configuration_key
configuration_key
の値をデフォルト値に復元します。デフォルト値が定義されていない場合は、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;