Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6290

spark.ml.param.Params.checkInputColumn bug upon error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: ML
    • Labels:
      None
    • Target Version/s:

      Description

      In checkInputColumn, if data types do not match, it tries to print an error message with this in it:

      Column param description: ${getParam(colName)}"
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mengxr Xiangrui Meng
                Reporter:
                josephkb Joseph K. Bradley
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: