You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/04/24 23:31:40 UTC

[jira] [Created] (SPARK-7137) Add checkInputColumn back to Params and print more info

Joseph K. Bradley created SPARK-7137:
----------------------------------------

             Summary: Add checkInputColumn back to Params and print more info
                 Key: SPARK-7137
                 URL: https://issues.apache.org/jira/browse/SPARK-7137
             Project: Spark
          Issue Type: Improvement
          Components: ML
    Affects Versions: 1.4.0
            Reporter: Joseph K. Bradley
            Priority: Trivial


In the PR for [https://issues.apache.org/jira/browse/SPARK-5957], Params.checkInputColumn was moved to SchemaUtils and renamed to checkColumnType.  The downside is that it no longer has access to the parameter info, so it cannot state which input column parameter was incorrect.

We should keep checkColumnType but also add checkInputColumn back to Params.  It should print out the parameter name and description.  Internally, it may call checkColumnType.



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