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

Sum a Double using an ORC table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.13.1
    • None
    • None
    • None
    • HDP 2.x, Hive

    Description

      I’m storing a sales amount column as a double in an ORC table and when I do:

      select sum(x) from sometable
      

      I get a value like 4.79165141174808E9

      A visual inspection of the column values reveals no glaring anomalies…all looks pretty normal.

      If I do the same thing in a textfile table I get a perfectly fine aggregation of the double field.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nimartin Nick Martin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: