[ 
https://issues.apache.org/jira/browse/SPARK-17169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15798989#comment-15798989
 ] 

Joseph K. Bradley commented on SPARK-17169:
-------------------------------------------

Is this worthwhile?  A lot of developers aren't familiar with Scala macros, and 
macros can get pretty obscure if we're not careful.

> To use scala macros to update code when SharedParamsCodeGen.scala changed
> -------------------------------------------------------------------------
>
>                 Key: SPARK-17169
>                 URL: https://issues.apache.org/jira/browse/SPARK-17169
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Qian Huang
>            Priority: Minor
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to