Uploaded image for project: 'Hivemall'
  1. Hivemall
  2. HIVEMALL-163

Add IS_INFINITE, IS_FINITE, IS_NAN functions

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.2
    • Labels:
      None

      Description

      Support floating point functions as in PrestoDB.

      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.
      

      https://github.com/brndnmtthws/facebook-hive-udfs/blob/master/src/main/java/com/facebook/hive/udf/UDFIsFinite.java

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                myui Makoto Yui
                Reporter:
                myui Makoto Yui
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: