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

Yuming Wang commented on SPARK-30904:
-------------------------------------

Issue resolved by pull request 27654
https://github.com/apache/spark/pull/27654

> Thrift RowBasedSet serialization throws NullPointerException on NULL 
> BigDecimal
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-30904
>                 URL: https://issues.apache.org/jira/browse/SPARK-30904
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 3.0.0, 3.1.0
>            Reporter: Christian Stuart
>            Priority: Major
>
> Adding the following test to {{SparkThriftServerProtocolVersionsSuite}} 
> reproduces the issue:
> {code:scala}
> test(s"$version get null as decimal") {
>   testExecuteStatementWithProtocolVersion(version,
>     "SELECT cast(null as decimal)") { rs =>
>     assert(rs.next())
>     assert(rs.getBigDecimal(1) === null)
>   }
> }{code}
> The bug was introduced in https://github.com/apache/spark/commit/163f4a4



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to