Kent Yao created SPARK-32272:
--------------------------------

             Summary: SET TIME ZONE standard sql command support
                 Key: SPARK-32272
                 URL: https://issues.apache.org/jira/browse/SPARK-32272
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.1.0
            Reporter: Kent Yao




{code:java}
Function
Set the current default time zone displacement for the current SQL-session.
Format
<set local time zone statement> ::=
SET TIME ZONE <set time zone value>
<set time zone value> ::=
<interval value expression>
| LOCAL

Syntax Rules
1) The declared type of the <interval value expression> immediately contained 
in the <set time zone value> shall be INTERVAL HOUR TO MINUTE.
{code}





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to