SET

説明

SETコマンドは、プロパティを設定したり、既存のプロパティの値を返したり、または値と意味を持つすべてのSQLConfプロパティを返したりします。

構文

SET
SET [ -v ]
SET property_key[ = property_value ]

パラメータ

-- Set a property.
SET spark.sql.variable.substitute=false;

-- List all SQLConf properties with value and meaning.
SET -v;

-- List all SQLConf properties with value for current session.
SET;

-- List the value of specified property key.
SET spark.sql.variable.substitute;
+-----------------------------+-----+
|                          key|value|
+-----------------------------+-----+
|spark.sql.variable.substitute|false|
+-----------------------------+-----+