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

Jesus Camacho Rodriguez commented on HIVE-14873:
------------------------------------------------

Thanks [~ashutoshc]. Yes, I think you are right and we should do some syntax 
consolidation.

New patch uses _dayofweek(<input)_ for the UDF call, and _extract(dayofweek 
from <input>)_ for the extract variant.

> Add UDF for extraction of 'day of week'
> ---------------------------------------
>
>                 Key: HIVE-14873
>                 URL: https://issues.apache.org/jira/browse/HIVE-14873
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser, UDF
>    Affects Versions: 2.1.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-14873.01.patch, HIVE-14873.patch
>
>




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

Reply via email to