You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2019/06/29 17:17:00 UTC

[jira] [Commented] (SPARK-28200) Decimal overflow handling in ExpressionEncoder

    [ https://issues.apache.org/jira/browse/SPARK-28200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875568#comment-16875568 ] 

Josh Rosen commented on SPARK-28200:
------------------------------------

MickJermsurawong and I have a patch for this, including tests covering both ExpressionEncoder and RowEncoder; we'll submit a PR early next week.

> Decimal overflow handling in ExpressionEncoder
> ----------------------------------------------
>
>                 Key: SPARK-28200
>                 URL: https://issues.apache.org/jira/browse/SPARK-28200
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Marco Gaido
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org