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

Unable to read given csv data. Excepion: java.lang.IllegalArgumentException: requirement failed: Decimal precision 28 exceeds max precision 20

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.0.3, 2.1.1, 2.2.0
    • SQL
    • None

    Description

      When reading below mentioned csv data, even though the maximum decimal precision is 38, following exception is thrown java.lang.IllegalArgumentException: requirement failed: Decimal precision 28 exceeds max precision 20

      Decimal
      2323366225312000000000000000
      24335739714000000
      23233662253000
      232336622530000

      Attachments

        Issue Links

          Activity

            People

              dongjoon Dongjoon Hyun
              Navya Krishnappa Navya Krishnappa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: