[ https://issues.apache.org/jira/browse/SPARK-30904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuming Wang resolved SPARK-30904. --------------------------------- Fix Version/s: 3.1.0 3.0.0 Resolution: Fixed > 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 > Fix For: 3.0.0, 3.1.0 > > > 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