Josh Rosen created SPARK-8903:
---------------------------------
Summary: Fix NPE when cross tab elements contain nulls (branch 1.4)
Key: SPARK-8903
URL: https://issues.apache.org/jira/browse/SPARK-8903
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 1.4.1
Reporter: Josh Rosen
Assignee: Josh Rosen
The backport of SPARK-8803 to branch-1.4 contains an error:
It calls
{code}
countsRow.setString(0, cleanElement(col1Item.toString))
{code}
instead of
{code}
countsRow.setString(0, cleanElement(col1Item))
{code}
which leads to a NullPointerException when col1Item == null.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]