[
https://issues.apache.org/jira/browse/SPARK-30904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuming Wang reassigned SPARK-30904:
-----------------------------------
Assignee: Christian Stuart
> 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
> Assignee: 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: [email protected]
For additional commands, e-mail: [email protected]