Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-10980

Create wrong decimal if unscaled > 1e18 and scale > 0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2, 1.3.1, 1.4.1, 1.5.1, 1.6.0
    • Fix Version/s: 1.2.3, 1.3.2, 1.4.2, 1.5.2, 1.6.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Decimal(1000000000000000000L, 20, 2) will become 1000000000000000000 instead of 10000000000000000.00

        Attachments

          Activity

            People

            • Assignee:
              davies Davies Liu
              Reporter:
              davies Davies Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: