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

Decimal overflow handling in ExpressionEncoder

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:
      None

      Description

      As pointed out in https://github.com/apache/spark/pull/20350, we are currently not checking the overflow when serializing a java/scala `BigDecimal` in `ExpressionEncoder` / `ScalaReflection`.

      We should add this check there too.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mickjermsurawong-stripe Mick Jermsurawong
                Reporter:
                mgaido Marco Gaido
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: