You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/04/08 23:47:12 UTC

[jira] [Updated] (HIVE-5162) Add mod(a, b) semantic for modular function

     [ 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)