[ https://issues.apache.org/jira/browse/SPARK-11902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiangrui Meng updated SPARK-11902: ---------------------------------- Assignee: Benjamin Fradet > 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 > Assignee: Benjamin Fradet > Priority: Trivial > Fix For: 1.6.0 > > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org