[ 
https://issues.apache.org/jira/browse/SPARK-11902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15020479#comment-15020479
 ] 

Apache Spark commented on SPARK-11902:
--------------------------------------

User 'BenFradet' has created a pull request for this issue:
https://github.com/apache/spark/pull/9885

> Unhandled case in VectorAssembler#transform
> -------------------------------------------
>
>                 Key: SPARK-11902
>                 URL: https://issues.apache.org/jira/browse/SPARK-11902
>             Project: Spark
>          Issue Type: Bug
>          Components: ML
>    Affects Versions: 1.5.2
>            Reporter: Benjamin Fradet
>            Priority: Minor
>
> 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

Reply via email to