You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Alex Rodoni (JIRA)" <ji...@apache.org> on 2018/01/23 23:29:00 UTC

[jira] [Closed] (IMPALA-6105) unix_timestamp() documentation doesn't mention unit

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

Alex Rodoni closed IMPALA-6105.
-------------------------------

> unix_timestamp() documentation doesn't mention unit
> ---------------------------------------------------
>
>                 Key: IMPALA-6105
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6105
>             Project: IMPALA
>          Issue Type: Documentation
>          Components: Docs
>    Affects Versions: Impala 2.10.0
>            Reporter: Tim Armstrong
>            Assignee: Alex Rodoni
>            Priority: Major
>
> When reading through the docs I noticed that unix_timestamp() doesn't explicitly say what unit it returns (I believe it is seconds). I saw this create some confusion for a user: http://community.cloudera.com/t5/Interactive-Short-cycle-SQL/Get-timestamp-in-milliseconds-in-Impala/m-p/61214#M3755?eid=1&aid=1
> See https://impala.incubator.apache.org/docs/build/html/topics/impala_datetime_functions.html
> {quote} Purpose: Returns an integer value representing the current date and time as a delta from the Unix epoch, or converts from a specified date and time value represented as a TIMESTAMP or STRING. {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)