Maxim Gekk created SPARK-29864:
----------------------------------

             Summary: Strict parsing of day-time strings to intervals
                 Key: SPARK-29864
                 URL: https://issues.apache.org/jira/browse/SPARK-29864
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Maxim Gekk


Currently, the IntervalUtils.fromDayTimeString() method does not takes into 
account the left bound `from` and truncates the result using the right bound 
`to`. The method should respect to the bounds specified by an user.

Oracle and MySQL respect to user's bounds, see 
https://github.com/apache/spark/pull/26358#issuecomment-551942719 and 
https://github.com/apache/spark/pull/26358#issuecomment-549272475 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to