Re: Programmatic use of UDFs from Java

2016-07-22 Thread Everett Anderson
Thanks for the pointer, Bryan! Sounds like I was on the right track in terms of what's available for now. (And Gourav -- I'm certainly interested in migrating to Scala, but our team is mostly Java, Python, and R based right now!) On Thu, Jul 21, 2016 at 11:00 PM, Bryan Cutler

Re: Programmatic use of UDFs from Java

2016-07-22 Thread Bryan Cutler
Everett, I had the same question today and came across this old thread. Not sure if there has been any more recent work to support this. http://apache-spark-developers-list.1001551.n3.nabble.com/Using-UDFs-in-Java-without-registration-td12497.html On Thu, Jul 21, 2016 at 10:10 AM, Everett

Re: Programmatic use of UDFs from Java

2016-07-21 Thread Gourav Sengupta
JAVA seriously? On Thu, Jul 21, 2016 at 6:10 PM, Everett Anderson wrote: > Hi, > > In the Java Spark DataFrames API, you can create a UDF, register it, and > then access it by string name by using the convenience UDF classes in > org.apache.spark.sql.api.java >

Programmatic use of UDFs from Java

2016-07-21 Thread Everett Anderson
Hi, In the Java Spark DataFrames API, you can create a UDF, register it, and then access it by string name by using the convenience UDF classes in org.apache.spark.sql.api.java . Example