You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/06/13 17:16:00 UTC

[jira] [Resolved] (SPARK-27578) Support INTERVAL ... HOUR TO SECOND syntax

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

Dongjoon Hyun resolved SPARK-27578.
-----------------------------------
       Resolution: Fixed
         Assignee: Zhu, Lipeng
    Fix Version/s: 3.0.0

This is resolved via https://github.com/apache/spark/pull/24472

> Support INTERVAL ... HOUR TO SECOND syntax
> ------------------------------------------
>
>                 Key: SPARK-27578
>                 URL: https://issues.apache.org/jira/browse/SPARK-27578
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Zhu, Lipeng
>            Assignee: Zhu, Lipeng
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Currently, SparkSQL can support interval format like this. 
>  
> {code:java}
> select interval '5 23:59:59.155' day to second.{code}
>  
> Can SparkSQL support grammar like below, as Presto/Teradata can support it well now.
> {code:java}
> select interval '23:59:59.155' hour to second
> {code}
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org