Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-27145

Use StrictMath for remaining Math functions as followup of HIVE-23133

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • UDF

    Description

      HIVE-23133 started using StrictMath for cos, exp, log UDFs to fix QTests failing as results vary based on hardware when using Math library.

      Follow it up by using StrictMath for other Math functions that can have same impact of underlying hardware namely, sin, tan, asin, acos, atan, sqrt, pow, cbrt.

      JDK-4477961 (in Java 9) changed radians and degrees calculation leading to Q Test failures when tests are run on Java 9+, fix such tests.

      Attachments

        Issue Links

          Activity

            People

              himanshum Himanshu Mishra
              himanshum Himanshu Mishra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m