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

Make udaf_percentile_approx_23.q test more stable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Tests
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: