You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2016/06/02 18:43:59 UTC
[jira] [Assigned] (SPARK-15140) encoder should make sure input
object is not null
[ https://issues.apache.org/jira/browse/SPARK-15140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan reassigned SPARK-15140:
-----------------------------------
Assignee: Wenchen Fan
> encoder should make sure input object is not null
> -------------------------------------------------
>
> Key: SPARK-15140
> URL: https://issues.apache.org/jira/browse/SPARK-15140
> Project: Spark
> Issue Type: Sub-task
> Reporter: Wenchen Fan
> Assignee: Wenchen Fan
>
> Current we assume the input object for encoder won't be null, but we don't check it. For example, in 1.6 `Seq("a", null).toDS.collect` will throw NPE, in 2.0 this will return Array("a", null).
> We should define this behaviour more clearly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org