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] [Updated] (HIVE-14751) Add support for date truncation
Date Fri, 23 Sep 2016 09:22:21 GMT

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

Jesus Camacho Rodriguez updated HIVE-14751:
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0
           Status: Resolved  (was: Patch Available)

Pushed to master, thanks for the review [~ashutoshc]!

> Add support for date truncation
> -------------------------------
>
>                 Key: HIVE-14751
>                 URL: https://issues.apache.org/jira/browse/HIVE-14751
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 2.2.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>             Fix For: 2.2.0
>
>         Attachments: HIVE-14751.patch
>
>
> Add support for {{floor (<time> to <timeunit>)}}, which is equivalent to
{{date_trunc(<timeunit>, <time>)}}.
> https://www.postgresql.org/docs/9.1/static/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC



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

Mime
View raw message