SetCommand Leaf Logical Command¶
SetCommand is a leaf logical runnable command that represents the following SQL statements:
SET configKey (= .*?)?
SET .*?
SET configKey = configValue
SET .*? = configValue
SET TIME ZONE INTERVAL ...
SET TIME ZONE [ text | LOCAL ]
SET TIME ZONE .*?
Creating Instance¶
SetCommand takes the following to be created:
- Key-value pair (optional)
SetCommand is created when:
SparkSqlAstBuilderis requested to parse visitSetConfiguration, visitSetQuotedConfiguration, visitSetTimeZone SQL statements