You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/06/06 05:02:04 UTC
[jira] [Commented] (DRILL-758) to_timestamp(unix time) not
returning correct result
[ 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)