You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/07/17 22:45:04 UTC
[jira] [Updated] (SPARK-9062) Change output type of Tokenizer to
Array(String, true)
[ https://issues.apache.org/jira/browse/SPARK-9062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph K. Bradley updated SPARK-9062:
-------------------------------------
Assignee: yuhao yang
> Change output type of Tokenizer to Array(String, true)
> ------------------------------------------------------
>
> Key: SPARK-9062
> URL: https://issues.apache.org/jira/browse/SPARK-9062
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Reporter: yuhao yang
> Assignee: yuhao yang
> Priority: Minor
> Fix For: 1.5.0
>
>
> Currently output type of Tokenizer is Array(String, false), which is not compatible with Word2Vec and Other transformers since their input type is Array(String, true). Seq[String] in udf will be treated as Array(String, true) by default.
> I'm also thinking for Nullable columns, maybe tokenizer should return Array(null) for null value in the input.
--
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