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

Vectorized round(decimal, negative) produces wrong results

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 0.14.0
    • Component/s: Vectorization
    • Labels:
      None

      Description

      Separated a 2nd issue – wrong result – found by Thiruvel Thirumoolan in HIVE-8417 from 1st issue (IndexOutOfBoundsException due to scratch columns in reduce-side).

      Interesting to note that in HIVE-8461 we converted Vectorization to use HiveDecimal instead of Decimal128, yet the rounding problem still occurs...

        Attachments

        1. HIVE-8697.02.patch
          102 kB
          Matt McCline

          Activity

            People

            • Assignee:
              mmccline Matt McCline
              Reporter:
              mmccline Matt McCline
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: