Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4160 Vectorized Query Execution in Hive
  3. HIVE-6243

error in high-precision division for Decimal128

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • None

    Description

      a = 213474114411690
      b = 5062120663

      a * b = 1080631725579042037750470

      (a * b) / b ==>

      actual: 251599050984618
      expected: 213474114411690

      Attachments

        1. HIVE-6243.02.patch
          14 kB
          Eric N. Hanson
        2. HIVE-6243.01.patch
          12 kB
          Eric N. Hanson
        3. divide-error.01.patch
          4 kB
          Eric N. Hanson

        Issue Links

          Activity

            People

              ehans Eric N. Hanson
              ehans Eric N. Hanson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: