Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9046 Decimal type support improvement and bug fix
  3. SPARK-9069

Remove DecimalType unlimited precision/scale support

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.5.0
    • SQL
    • None
    • Spark 1.5 release

    Description

      We should remove DecimalType.Unlimited, because BigDecimal does not really support unlimited precision, especially for division.

      We can have maximum precision as 38 (to match with Hive 0.13+). The default precision and scale could be (38, 18).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: