drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Challapalli (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-976) Extracting second from an interval value is returning the wrong value
Date Mon, 23 Jun 2014 17:35:24 GMT

     [ https://issues.apache.org/jira/browse/DRILL-976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rahul Challapalli updated DRILL-976:
------------------------------------

    Description: 
The below query returns 9045.1 It should ideally return 45.100

select extract (second from interval '1 2:30:45.100' day to second) from basic limit 1

  was:
The below query returns 9045.1 It should ideally return 45.1

select extract (second from interval '1 2:30:45.100' day to second) from basic limit 1


> Extracting second from an interval value is returning the wrong value
> ---------------------------------------------------------------------
>
>                 Key: DRILL-976
>                 URL: https://issues.apache.org/jira/browse/DRILL-976
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Rahul Challapalli
>            Assignee: DrillCommitter
>            Priority: Minor
>         Attachments: DRILL-976.patch
>
>
> The below query returns 9045.1 It should ideally return 45.100
> select extract (second from interval '1 2:30:45.100' day to second) from basic limit
1



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message