You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2014/05/22 22:43:02 UTC
[jira] [Updated] (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:all-tabpanel ]
Krystal updated DRILL-818:
--------------------------
Component/s: (was: Client - JDBC)
Functions - Drill
Summary: date_add returns only date for date + or - time (was: jdbc returns only date for date + or - time)
> 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
>
> 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)