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

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

    [ https://issues.apache.org/jira/browse/SPARK-32272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155348#comment-17155348 ] 

Apache Spark commented on SPARK-32272:
--------------------------------------

User 'yaooqinn' has created a pull request for this issue:
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
>            Priority: Major
>
> {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