You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/01/14 06:23:34 UTC

[jira] [Commented] (HIVE-9358) Create LAST_DAY UDF

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

Alexander Pivovarov commented on HIVE-9358:
-------------------------------------------

Review Board Request https://reviews.apache.org/r/29877/

> Create LAST_DAY UDF
> -------------------
>
>                 Key: HIVE-9358
>                 URL: https://issues.apache.org/jira/browse/HIVE-9358
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>         Attachments: HIVE-9358.1.patch
>
>
> LAST_DAY returns the date of the last day of the month that contains date:
> last_day('2015-01-14') = '2015-01-31'
> last_day('2016-02-01') = '2016-02-29'
> last_day function went from oracle  http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions072.htm



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