[GitHub] spark pull request #20934: [SPARK-23818][SQL][WIP] an official UDF interface...

2018-03-31 Thread WeichenXu123
Github user WeichenXu123 closed the pull request at: https://github.com/apache/spark/pull/20934 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.o

[GitHub] spark pull request #20934: [SPARK-23818][SQL][WIP] an official UDF interface...

2018-03-31 Thread WeichenXu123
Github user WeichenXu123 commented on a diff in the pull request: https://github.com/apache/spark/pull/20934#discussion_r178446367 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/JavaUDF.scala --- @@ -0,0 +1,135 @@ +/* + * Licensed to the Ap

[GitHub] spark pull request #20934: [SPARK-23818][SQL][WIP] an official UDF interface...

2018-03-31 Thread viirya
Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/20934#discussion_r178433204 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/JavaUDF.scala --- @@ -0,0 +1,135 @@ +/* + * Licensed to the Apache S

[GitHub] spark pull request #20934: [SPARK-23818][SQL][WIP] an official UDF interface...

2018-03-29 Thread WeichenXu123
Github user WeichenXu123 commented on a diff in the pull request: https://github.com/apache/spark/pull/20934#discussion_r178217425 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala --- @@ -217,6 +217,27 @@ class UDFRegistration private[sql] (functionRegis

[GitHub] spark pull request #20934: [SPARK-23818][SQL][WIP] an official UDF interface...

2018-03-29 Thread gatorsmile
Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/20934#discussion_r178107925 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala --- @@ -217,6 +217,27 @@ class UDFRegistration private[sql] (functionRegistr

[GitHub] spark pull request #20934: [SPARK-23818][SQL][WIP] an official UDF interface...

2018-03-29 Thread WeichenXu123
GitHub user WeichenXu123 opened a pull request: https://github.com/apache/spark/pull/20934 [SPARK-23818][SQL][WIP] an official UDF interface for Spark SQL ## What changes were proposed in this pull request? API: (to be discussed), use 2-args as example: ``` UDFR