You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2014/06/03 20:51:04 UTC

[jira] [Commented] (DRILL-818) date_add returns only date for date + or - time

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

Mehant Baid commented on DRILL-818:
-----------------------------------

Jacques, could you close the bug

> date_add returns only date for date + or - time
> -----------------------------------------------
>
>                 Key: DRILL-818
>                 URL: https://issues.apache.org/jira/browse/DRILL-818
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Krystal
>            Assignee: Jacques Nadeau
>         Attachments: DRILL-818.patch
>
>
> git.commit.id.abbrev=2fad21d
> select date_add(to_date('05 Dec 2013', 'dd MMM YYYY'), interval '1 10:20:30' DAY to second) from voter where voter_id=10
> jdbc returns 2013-12-06
> From sqlline for the same query, it returns expected result of 2013-12-06T10:20:30.000-08:00



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