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/02/03 06:21:34 UTC

[jira] [Updated] (HIVE-9520) Create NEXT_DAY UDF

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

Alexander Pivovarov updated HIVE-9520:
--------------------------------------
    Component/s: UDF

> Create NEXT_DAY UDF
> -------------------
>
>                 Key: HIVE-9520
>                 URL: https://issues.apache.org/jira/browse/HIVE-9520
>             Project: Hive
>          Issue Type: Task
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>         Attachments: HIVE-9520.1.patch
>
>
> NEXT_DAY returns the date of the first weekday named by char that is later than the date date
> Example:
> {code}
> select next_day('2001-02-02','TUESDAY') ...;
> OK
> 2001-02-06
> {code}



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