spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenchen Fan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-15140) encoder should support null input object
Date Fri, 27 May 2016 06:51:12 GMT

     [ https://issues.apache.org/jira/browse/SPARK-15140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wenchen Fan updated SPARK-15140:
--------------------------------
    Summary: encoder should support null input object  (was: ensure input object of encoder
is not null)

> encoder should support null input object
> ----------------------------------------
>
>                 Key: SPARK-15140
>                 URL: https://issues.apache.org/jira/browse/SPARK-15140
>             Project: Spark
>          Issue Type: Improvement
>            Reporter: 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


Mime
View raw message