Benjamin Fradet created SPARK-11902:
---------------------------------------

             Summary: 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