drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-818) date_add returns only date for date + or - time
Date Wed, 28 May 2014 16:55:02 GMT

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

Jacques Nadeau updated DRILL-818:
---------------------------------

    Assignee: Mehant Baid

> 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: Mehant Baid
>
> 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