Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4810

DECIMAL datatype changes for Impala 2.9

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Impala 2.8.0
    • Fix Version/s: Impala 2.9.0
    • Component/s: Backend
    • Labels:
      None

      Description

      Collection of DECIMAL related changes for Impala 2.9.0.

        Activity

        Hide
        dhecht Dan Hecht added a comment -

        Greg Rahn confirmed we should start with round half up.

        Show
        dhecht Dan Hecht added a comment - Greg Rahn confirmed we should start with round half up.
        Hide
        zamsden_impala_ad21 Zachary added a comment -

        So we should probably actually define the rounding behavior. We have quite a few choices. Currently I think we round towards negative infinity and round to nearest in ROUND(). What are the tie-breaking rules going to be for exact halves (round 0.5)? I thought the sanest choice would be round half to even, and this is what IEEE 754 rules specify, and probably what other systems do as well.

        Show
        zamsden_impala_ad21 Zachary added a comment - So we should probably actually define the rounding behavior. We have quite a few choices. Currently I think we round towards negative infinity and round to nearest in ROUND(). What are the tie-breaking rules going to be for exact halves (round 0.5)? I thought the sanest choice would be round half to even, and this is what IEEE 754 rules specify, and probably what other systems do as well.

          People

          • Assignee:
            dhecht Dan Hecht
            Reporter:
            dhecht Dan Hecht
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development