hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14579) Add support for date extract and floor
Date Tue, 13 Sep 2016 22:44:21 GMT

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

Jesus Camacho Rodriguez commented on HIVE-14579:
------------------------------------------------

{{floor (<time> to <timeunit>)}} is equivalent to {{date_trunc(<timeunit>,
<time>)}}.

https://www.postgresql.org/docs/9.1/static/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC

> Add support for date extract and floor
> --------------------------------------
>
>                 Key: HIVE-14579
>                 URL: https://issues.apache.org/jira/browse/HIVE-14579
>             Project: Hive
>          Issue Type: Sub-task
>          Components: UDF
>            Reporter: Ashutosh Chauhan
>            Assignee: Jesus Camacho Rodriguez
>
> https://www.postgresql.org/docs/9.1/static/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT



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

Mime
View raw message