[
https://issues.apache.org/jira/browse/SPARK-6290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508278#comment-14508278
]
Joseph K. Bradley commented on SPARK-6290:
------------------------------------------
There should be a complaint from within the getParam method and/or from string
interpolation. Could you please post what you ran and the full error you saw?
(I apologize for not posting this info when I first saw this error.)
> spark.ml.param.Params.checkInputColumn bug upon error
> -----------------------------------------------------
>
> Key: SPARK-6290
> URL: https://issues.apache.org/jira/browse/SPARK-6290
> Project: Spark
> Issue Type: Bug
> Components: ML
> Affects Versions: 1.3.0
> Reporter: Joseph K. Bradley
> Priority: Minor
>
> In checkInputColumn, if data types do not match, it tries to print an error
> message with this in it:
> {code}
> Column param description: ${getParam(colName)}"
> {code}
> However, getParam cannot be called on the string colName; it needs the
> parameter name, which this method is not given. This causes a weird error
> which users may find hard to understand.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]