Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2177

[C++] Remove support for specifying negative scale values in DecimalType

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: C++, Python
    • Labels:
      None

      Description

      Allowing both negative and positive scale makes it ambiguous what the scale of a number should be when it using exponential notation, e.g., 0.01E3. Should that have a precision of 4 and a scale of 2 since it's specified as 2 points to the right of the decimal and it evaluates to 10? Or a precision of 1 and a scale of -1?

      Current it's the latter, but I think it should be the former.

        Attachments

          Activity

            People

            • Assignee:
              cpcloud Phillip Cloud
              Reporter:
              cpcloud Phillip Cloud
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: