You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/06/12 18:46:05 UTC

[jira] [Commented] (DRILL-944) Adding 2 times is spilling over to the next day when the result is greater than 24 hours

    [ https://issues.apache.org/jira/browse/DRILL-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029356#comment-14029356 ] 

Jacques Nadeau commented on DRILL-944:
--------------------------------------

fixed at or before 4198a17

> Adding 2 times is spilling over to the next day when the result is greater than 24 hours
> ----------------------------------------------------------------------------------------
>
>                 Key: DRILL-944
>                 URL: https://issues.apache.org/jira/browse/DRILL-944
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Rahul Challapalli
>            Assignee: DrillCommitter
>         Attachments: DRILL-944.patch
>
>
> git.commit.id.abbrev=3db1d5a
> Query : select time '04:00:00' + interval '23:00:00' hour to second from basic limit 1;
> Drill Result : 1970-01-02T03:00:00.000Z
> Postgres Result : 03:00:00
> From the above drill result, we are spilling to the next day. (The date part is not required at all)



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