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

Krystal closed DRILL-758.
-------------------------

Bug was verified.

> 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
>             Fix For: 0.4.0
>
>         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.3.15#6346)

Reply via email to