Hive
  1. Hive
  2. HIVE-6385

UDF degrees() doesn't take decimal as input

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: UDF
    • Labels:
      None

      Description

      HIVE-6246 and HIVE-6327 added decimal support in most of the mathematical UDFs, including radians(). However, such support is still missing for UDF degrees(). This fills the gap.

        Issue Links

          Activity

          Xuefu Zhang created issue -
          Xuefu Zhang made changes -
          Field Original Value New Value
          Link This issue relates to HIVE-6327 [ HIVE-6327 ]
          Xuefu Zhang made changes -
          Link This issue relates to HIVE-6246 [ HIVE-6246 ]
          Xuefu Zhang made changes -
          Attachment HIVE-6385.patch [ 12627663 ]
          Xuefu Zhang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hide
          Jason Dere added a comment -

          +1 assuming tests pass

          Show
          Jason Dere added a comment - +1 assuming tests pass
          Hide
          Hive QA added a comment -

          Overall: -1 at least one tests failed

          Here are the results of testing the latest attachment:
          https://issues.apache.org/jira/secure/attachment/12627663/HIVE-6385.patch

          ERROR: -1 due to 1 failed/errored test(s), 5041 tests executed
          Failed tests:

          org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_bucketmapjoin6
          

          Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1244/testReport
          Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1244/console

          Messages:

          Executing org.apache.hive.ptest.execution.PrepPhase
          Executing org.apache.hive.ptest.execution.ExecutionPhase
          Executing org.apache.hive.ptest.execution.ReportingPhase
          Tests exited with: TestsFailedException: 1 tests failed
          

          This message is automatically generated.

          ATTACHMENT ID: 12627663

          Show
          Hive QA added a comment - Overall : -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12627663/HIVE-6385.patch ERROR: -1 due to 1 failed/errored test(s), 5041 tests executed Failed tests: org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_bucketmapjoin6 Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1244/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1244/console Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed This message is automatically generated. ATTACHMENT ID: 12627663
          Hide
          Xuefu Zhang added a comment -

          The above failed test case has been flaky. It's unrelated to the changes in the patch.

          Show
          Xuefu Zhang added a comment - The above failed test case has been flaky. It's unrelated to the changes in the patch.
          Hide
          Xuefu Zhang added a comment -

          Patch committed to trunk. Thanks to Jason for the review.

          Wiki is updated. https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types

          Show
          Xuefu Zhang added a comment - Patch committed to trunk. Thanks to Jason for the review. Wiki is updated. https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types
          Xuefu Zhang made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.13.0 [ 12324986 ]
          Resolution Fixed [ 1 ]
          Lefty Leverenz made changes -
          Link This issue relates to HIVE-2693 [ HIVE-2693 ]
          Swarnim Kulkarni made changes -
          Labels TODOC13
          Hide
          Lefty Leverenz added a comment -

          Lars Francke documented this in the wiki in February 2014 (and I added version information in March):

          Show
          Lefty Leverenz added a comment - Lars Francke documented this in the wiki in February 2014 (and I added version information in March): UDFs – Mathematical Functions doc diffs for HIVE-6385 (degrees) and other Hive 0.13.0 jiras
          Lefty Leverenz made changes -
          Labels TODOC13
          Hide
          Lefty Leverenz added a comment -

          Also documented in Data Types:

          Show
          Lefty Leverenz added a comment - Also documented in Data Types: Hive Data Types – Mathematical UDFs
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          1d 49m 1 Xuefu Zhang 07/Feb/14 18:23
          Patch Available Patch Available Resolved Resolved
          3d 38m 1 Xuefu Zhang 10/Feb/14 19:02

            People

            • Assignee:
              Xuefu Zhang
              Reporter:
              Xuefu Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development