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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

      a = 213474114411690
      b = 5062120663

      a * b = 1080631725579042037750470

      (a * b) / b ==>

      actual: 251599050984618
      expected: 213474114411690

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: