spark git commit: [SPARK-22945][SQL] add java UDF APIs in the functions object

2018-01-04 Thread wenchen
Repository: spark Updated Branches: refs/heads/branch-2.3 a7cfd6bea -> eb99b8ade [SPARK-22945][SQL] add java UDF APIs in the functions object ## What changes were proposed in this pull request? Currently Scala users can use UDF like ``` val foo = udf((i: Int) => Math.random() +

spark git commit: [SPARK-22945][SQL] add java UDF APIs in the functions object

2018-01-04 Thread wenchen
Repository: spark Updated Branches: refs/heads/master 9fa703e89 -> d5861aba9 [SPARK-22945][SQL] add java UDF APIs in the functions object ## What changes were proposed in this pull request? Currently Scala users can use UDF like ``` val foo = udf((i: Int) => Math.random() +