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/01 03:01:34 UTC

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

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

Alexander Pivovarov commented on HIVE-9520:
-------------------------------------------

Patch #1 uploaded to Review Board

> Create NEXT_DAY UDF
> -------------------
>
>                 Key: HIVE-9520
>                 URL: https://issues.apache.org/jira/browse/HIVE-9520
>             Project: Hive
>          Issue Type: Task
>            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)