You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (Jira)" <ji...@apache.org> on 2019/11/12 18:23:00 UTC

[jira] [Created] (SPARK-29864) Strict parsing of day-time strings to intervals

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org