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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0
    • ML
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: