You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/11/21 15:41:10 UTC
[jira] [Updated] (SPARK-11902) Unhandled case in
VectorAssembler#transform
[ https://issues.apache.org/jira/browse/SPARK-11902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated SPARK-11902:
------------------------------
Priority: Trivial (was: Minor)
Issue Type: Improvement (was: Bug)
> Unhandled case in VectorAssembler#transform
> -------------------------------------------
>
> Key: SPARK-11902
> URL: https://issues.apache.org/jira/browse/SPARK-11902
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Affects Versions: 1.5.2
> Reporter: Benjamin Fradet
> Priority: Trivial
>
> I noticed that there is an unhandled case in the transform method of VectorAssembler if one of the input columns doesn't have one of the supported type DoubleType, NumericType, BooleanType or VectorUDT.
> So, if you try to transform a column of StringType you get a cryptic "scala.MatchError: StringType".
> Will submit a PR shortly
--
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