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] [Commented] (DRILL-758) to_timestamp(unix time) not returning correct result
Date Fri, 06 Jun 2014 03:02:04 GMT

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

Jacques Nadeau commented on DRILL-758:
--------------------------------------

Fixed at master 3db1d5a and beyond.

> to_timestamp(unix time) not returning correct result
> ----------------------------------------------------
>
>                 Key: DRILL-758
>                 URL: https://issues.apache.org/jira/browse/DRILL-758
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Krystal
>         Attachments: DRILL-758.patch
>
>
> Ran the following to_timestamp query passing it a unix timestamp:
> select to_timestamp(1284352323) from voter where voter_id=10;
> The value returned looks like unix epoch time:
>  1970-01-15T20:45:52.323-08:00
> Any unix time used returned the same year (1970) and month (01).



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

Mime
View raw message