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/01 10:58:00 UTC

[jira] [Created] (SPARK-29712) fromDayTimeString() does not take into account the left bound

Maxim Gekk created SPARK-29712:
----------------------------------

             Summary: fromDayTimeString() does not take into account the left bound
                 Key: SPARK-29712
                 URL: https://issues.apache.org/jira/browse/SPARK-29712
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.4.0, 3.0.0
            Reporter: Maxim Gekk


Currently, fromDayTimeString() takes into account the right bound but not the left one. For example:
{code}
spark-sql> SELECT interval '1 2:03:04' hour to minute;
interval 1 days 2 hours 3 minutes
{code}
The result should be *interval 2 hours 3 minutes*



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