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

Alexander Pivovarov updated HIVE-9358:
--------------------------------------
          Labels:   (was: TODOC15)
    Release Note: Returns the last day of the month which the date belongs to.

> 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
>             Fix For: 0.15.0
>
>         Attachments: HIVE-9358.1.patch, HIVE-9358.2.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)

Reply via email to