hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5162) Add mod(a, b) semantic for modular function
Date Wed, 08 Apr 2015 21:47:12 GMT

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

Mime
View raw message