You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2020/02/22 04:50:00 UTC
[jira] [Assigned] (SPARK-30904) Thrift RowBasedSet serialization
throws NullPointerException on NULL BigDecimal
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org