Maxim Gekk created SPARK-27790:
----------------------------------

             Summary: Support SQL INTERVAL types
                 Key: SPARK-27790
                 URL: https://issues.apache.org/jira/browse/SPARK-27790
             Project: Spark
          Issue Type: New Feature
          Components: SQL
    Affects Versions: 2.4.3
            Reporter: Maxim Gekk


SQL standard defines 2 interval types:
# year-month interval contains a YEAR field or a MONTH field or both
# day-time interval contains DAY, HOUR, MINUTE, and SECOND (possibly fraction 
of seconds)

Need to add 2 new internal types YearMonthIntervalType and DayTimeIntervalType, 
support operations defined by SQL standard as well as INTERVAL literals.

The java.time.Period and java.time.Duration can be supported as external type 
for earMonthIntervalType and DayTimeIntervalType.



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

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

Reply via email to