Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4810 DECIMAL datatype changes for Impala 2.9
  3. IMPALA-2020

Rounding should be done instead of truncating when casting DECIMAL to DECIMAL, FLOAT/DOUBLE to DECIMAL, DECIMAL to INT

    Details

      Description

      The current behavior is to truncate which people don't expect and often differs from what other databases do (does any other system truncate?). We've had several questions from users that stem from the truncation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zamsden Zach Amsden
                Reporter:
                caseyc casey
              • Votes:
                4 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: