[2/2] spark git commit: [SPARK-25044][FOLLOW-UP] Change ScalaUDF constructor signature

2018-10-19 Thread wenchen
[SPARK-25044][FOLLOW-UP] Change ScalaUDF constructor signature ## What changes were proposed in this pull request? This is a follow-up PR for #22259. The extra field added in `ScalaUDF` with the original PR was declared optional, but should be indeed required, otherwise callers of `ScalaUDF`'s

[2/2] spark git commit: [SPARK-25044][FOLLOW-UP] Change ScalaUDF constructor signature

2018-10-19 Thread wenchen
[SPARK-25044][FOLLOW-UP] Change ScalaUDF constructor signature ## What changes were proposed in this pull request? This is a follow-up PR for #22259. The extra field added in `ScalaUDF` with the original PR was declared optional, but should be indeed required, otherwise callers of `ScalaUDF`'s