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

Make udaf_percentile_approx_23.q test more stable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • Tests
    • None

    Description

      I think the result of the test is not deterministic
      Sometimes line 626 in the output shows 256.0 sometimes 255.5
      Both results are correct because this UDAF returns approximate result.
      Probably results in the range of 255-257 should be considered as correct

      Attachments

        1. HIVE-10059.1.patch
          2 kB
          Alexander Pivovarov

        Issue Links

          Activity

            People

              apivovarov Alexander Pivovarov
              apivovarov Alexander Pivovarov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: