[ 
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)

Reply via email to