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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.2, 1.3.1, 1.4.1, 1.5.1, 1.6.0
    • 1.2.3, 1.3.2, 1.4.2, 1.5.2, 1.6.0
    • SQL
    • None

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: