hivemall-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Makoto Yui (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (HIVEMALL-163) Add IS_INFINITE, IS_FINITE, IS_NAN functions
Date Tue, 04 Sep 2018 07:00:00 GMT

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

Makoto Yui closed HIVEMALL-163.
-------------------------------
    Resolution: Fixed

> Add IS_INFINITE, IS_FINITE, IS_NAN functions
> --------------------------------------------
>
>                 Key: HIVEMALL-163
>                 URL: https://issues.apache.org/jira/browse/HIVEMALL-163
>             Project: Hivemall
>          Issue Type: Wish
>            Reporter: Makoto Yui
>            Assignee: Makoto Yui
>            Priority: Major
>             Fix For: 0.5.2
>
>
> Support floating point functions as in [PrestoDB|https://prestodb.io/docs/current/functions/math.html].
> {code}
> Floating Point Functions
> infinity() → double
> Returns the constant representing positive infinity.
> is_finite(x) → boolean
> Determine if x is finite.
> is_infinite(x) → boolean
> Determine if x is infinite.
> is_nan(x) → boolean
> Determine if x is not-a-number.
> nan() → double
> Returns the constant representing not-a-number.
> {code}
> https://github.com/brndnmtthws/facebook-hive-udfs/blob/master/src/main/java/com/facebook/hive/udf/UDFIsFinite.java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message