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

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

     [ https://issues.apache.org/jira/browse/SPARK-32272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-32272.
---------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

Issue resolved by pull request 29064
[https://github.com/apache/spark/pull/29064]

> 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
>            Assignee: Kent Yao
>            Priority: Major
>             Fix For: 3.1.0
>
>
> {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