drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Keranen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-4782) TO_TIME function cannot separate time from date time string
Date Fri, 15 Jul 2016 17:49:20 GMT
Matt Keranen created DRILL-4782:
-----------------------------------

             Summary: TO_TIME function cannot separate time from date time string
                 Key: DRILL-4782
                 URL: https://issues.apache.org/jira/browse/DRILL-4782
             Project: Apache Drill
          Issue Type: Improvement
          Components:  Server
    Affects Versions: 1.6.0, 1.7.0
         Environment: CentOS 7
            Reporter: Matt Keranen
            Priority: Minor


TO_TIME('2016-03-03 00:00', ''yyyy-MM-dd HH:mm') returns "05:14:46.656" instead of the expected
"00:00:00"

Adding and additional split does work as expected: TO_TIME(SPLIT('2016-03-03 00:00', ' ')[1],
'HH:mm')



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message