[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to