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

To use scala macros to update code when SharedParamsCodeGen.scala changed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • None
    • None
    • ML

    Description

      As commented in the file SharedParamsCodeGen.scala, we have to manually run
      build/sbt "mllib/runMain org.apache.spark.ml.param.shared.SharedParamsCodeGen"
      to generate and update it.

      It could be better to do compile time code-gen for this using scala macros rather than running the script as described above.

      Attachments

        Activity

          People

            Unassigned Unassigned
            qhuang Qian Huang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: