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

Alexander Pivovarov updated HIVE-5162:
--------------------------------------
    Attachment: HIVE-5162.1.patch

patch #1
- added GenericUDFMod which extends GenericUDFOPMod
- fixed function name and signature

> Add mod(a, b) semantic for modular function
> -------------------------------------------
>
>                 Key: HIVE-5162
>                 URL: https://issues.apache.org/jira/browse/HIVE-5162
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>    Affects Versions: 0.11.0
>            Reporter: Xiu
>            Assignee: Alexander Pivovarov
>            Priority: Minor
>         Attachments: HIVE-5162.1.patch
>
>
> Currently Hive is supporting 'a % b' as modular function, not mod(a, b). 
> Unlike MySQL which supports both.
> It would be a good idea to support both.



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

Reply via email to