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

Reply via email to