hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5472) support a simple scalar which returns the current timestamp
Date Thu, 29 Jan 2015 00:50:34 GMT

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

Thejas M Nair commented on HIVE-5472:
-------------------------------------

+1

> support a simple scalar which returns the current timestamp
> -----------------------------------------------------------
>
>                 Key: HIVE-5472
>                 URL: https://issues.apache.org/jira/browse/HIVE-5472
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.11.0
>            Reporter: N Campbell
>            Assignee: Jason Dere
>         Attachments: HIVE-5472.1.patch, HIVE-5472.2.patch, HIVE-5472.3.patch
>
>
> ISO-SQL has two forms of functions
> local and current timestamp where the former is a TIMESTAMP WITHOUT TIMEZONE and the
latter with TIME ZONE
> select cast ( unix_timestamp() as timestamp ) from T
> implement a function which computes LOCAL TIMESTAMP which would be the current timestamp
for the users session time zone.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message