You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Feynman Liang (JIRA)" <ji...@apache.org> on 2016/01/12 23:03:39 UTC
[jira] [Closed] (SPARK-12779) StringIndexer should handle null
[ https://issues.apache.org/jira/browse/SPARK-12779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Feynman Liang closed SPARK-12779.
---------------------------------
Resolution: Duplicate
> StringIndexer should handle null
> --------------------------------
>
> Key: SPARK-12779
> URL: https://issues.apache.org/jira/browse/SPARK-12779
> Project: Spark
> Issue Type: Bug
> Components: ML
> Affects Versions: 1.6.0
> Reporter: Feynman Liang
>
> StringIndexer currently fails with a {{NullPointerException}} when indexing a column containing {{null}}s. It should instead index all {{null}}s into some sentinel value (say -1).
--
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