Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-37935 Migrate onto error classes
  3. SPARK-37945

Use error classes in the execution errors of arithmetic ops

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.4.0
    • SQL
    • None

    Description

      Migrate the following errors in QueryExecutionErrors:

      • overflowInSumOfDecimalError
      • overflowInIntegralDivideError
      • arithmeticOverflowError
      • unaryMinusCauseOverflowError
      • binaryArithmeticCauseOverflowError
      • unscaledValueTooLargeForPrecisionError
      • decimalPrecisionExceedsMaxPrecisionError
      • outOfDecimalTypeRangeError
      • integerOverflowError

      onto use error classes. Throw an implementation of SparkThrowable. Also write a test per every error in QueryExecutionErrorsSuite.

      Attachments

        Issue Links

          Activity

            People

              khalidmammadov9@gmail.com Khalid Mammadov
              maxgekk Max Gekk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: