Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-870

HUE doesn't show the correct result from Hive round(DOUBLE a, INT d) function

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Hive
    • Labels:

      Description

      I'm using CDH5.10.1 with Hive 1.1.0.
      Running "select round(SUM(150.100 + 127.0090), 2);" in HUE Query Editor, I get 277.11000000000001 which is not the expected value. But trying the query via beeline returns the correct result (27.11). Even if I run the query through HUE but write the result to a file the result is 27.11

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pedram_bashiri@premierinc.com Pedram Bashiri
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: