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

Add IS_INFINITE, IS_FINITE, IS_NAN functions

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.2
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: