Re: UDF does not runs from Zeppelin

2016-07-17 Thread Vinay Shukla
Gilad, I have a simple UDF to convert date running successfully with Zeppelin 0.6.0 & Spark 1.6.1 ## UDF import org.apache.spark.sql.functions._ import org.apache.spark.sql.types._ import java.text.SimpleDateFormat val toDate = udf((t: String) =>{ val sdf = new SimpleDateFormat("MM/dd/y

UDF does not runs from Zeppelin

2016-07-17 Thread Gilad Landau
Hi, I'm trying to run simple UDF functions from Zeppelin and fail. I'm using Zeppelin 0.5.6 and it's not even working on the simple Tutorial example, even though it does work from shell: This is what I run: def sentiment(s:String) : String = { val positive = Array("like", "love", "good", "gre

Re: print is mandatory for print out in pyspark interpreter ?

2016-07-17 Thread Jeff Zhang
Thanks, create https://issues.apache.org/jira/browse/ZEPPELIN-1197 On Sun, Jul 17, 2016 at 11:40 AM, Jonathan Kelly wrote: > +1 > > On Sat, Jul 16, 2016 at 1:57 PM moon soo Lee wrote: > >> Original implementation of pyspark interpreter printed output without >> print(). >> But the behavior ch