Re: Spark SQL takes unexpected time

2014-11-04 Thread Michael Armbrust
inators and >> Recipients\n") >> sql("SELECT COUNT(*) AS Frequency,ONum,OName,RNum,RName >> FROM EventDataTbl >> GROUP BY ONum,OName,RNum,RName ORDER BY Frequency DESC LIMIT >> 10").collect().foreach(println) >> val t2 = System.nanoTime() >> println("Time taken " + (

Re: Spark SQL takes unexpected time

2014-11-04 Thread Corey Nolet
") > > > - > > Thanks, > Shailesh > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-takes-

Re: Spark SQL takes unexpected time

2014-11-03 Thread Shailesh Birari
ime() println("Time taken " + (t2-t1)/10.0 + " Seconds") - Thanks, Shailesh -- View this message in context: http://apache-spark-user-list.1

Re: Spark SQL takes unexpected time

2014-11-03 Thread Michael Armbrust
LECT COUNT(*) AS Frequency,ONum,OName,RNum,RName FROM EventDataTbl > GROUP BY ONum,OName,RNum,RName ORDER BY Frequency DESC LIMIT > 10").collect().foreach(println) > > Can you let me know if I am missing anything ? > > Thanks, > Shailesh > > > > > -- > Vie

Spark SQL takes unexpected time

2014-11-02 Thread Shailesh Birari
LIMIT 10").collect().foreach(println) Can you let me know if I am missing anything ? Thanks, Shailesh -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-takes-unexpected-time-tp17925.html Sent from the Apache Spark User List mailing list