You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kent Yao (Jira)" <ji...@apache.org> on 2020/07/10 11:01:00 UTC

[jira] [Created] (SPARK-32272) SET TIME ZONE standard sql command support

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org