drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mehant Baid (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-818) date_add returns only date for date + or - time
Date Tue, 03 Jun 2014 18:51:04 GMT

    [ 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)

Mime
View raw message