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

Alexander Pivovarov updated HIVE-3299:
--------------------------------------
    Attachment: HIVE-3299.2.patch

patch #2
- the function extends GenericUDF and uses GenericUDF methods.
- added JUnit tests
- added q test for string/date/timestamps arguments

> Create UDF  DAYNAME(date)
> -------------------------
>
>                 Key: HIVE-3299
>                 URL: https://issues.apache.org/jira/browse/HIVE-3299
>             Project: Hive
>          Issue Type: New Feature
>          Components: UDF
>    Affects Versions: 0.9.0
>            Reporter: Namitha Babychan
>            Assignee: Alexander Pivovarov
>              Labels: patch
>         Attachments: HIVE-3299.1.patch.txt, HIVE-3299.2.patch, 
> HIVE-3299.patch.txt, Hive-3299_Testcase.doc, udf_dayname.q, udf_dayname.q.out
>
>
> dayname(date/timestamp/string)
> Returns the name of the weekday for date. The language used for the name is 
> English.
> select dayname('2015-04-08');
> Wednesday



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

Reply via email to