You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zhu, Lipeng (JIRA)" <ji...@apache.org> on 2019/06/19 12:10:00 UTC

[jira] [Created] (SPARK-28107) Interval type conversion syntax support

Zhu, Lipeng created SPARK-28107:
-----------------------------------

             Summary: Interval type conversion syntax support
                 Key: SPARK-28107
                 URL: https://issues.apache.org/jira/browse/SPARK-28107
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Zhu, Lipeng


According to the 03 ANSI SQL standard, for the interval type conversion. SparkSQL now can only support 
 * Interval year to month
 * Interval day to second
 * Interval hour to second

There are some other syntax which are both supported in PostgreSQL and 03 ANSI SQL.
 * Interval day to hour
 * Interval day to minute
 * Interval hour to minute
 * Interval minute to second



--
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