Hi Everyone,
I am using following sqlContext
var df=sqlContext.sql("SELECT fullname,SUM(CAST(contactid AS decimal(38,6))) 
FROM adventurepersoncontacts GROUP BY fullname ORDER BY fullname ASC");

It executes fine but when I display the content of the data frame by using 
println method it take very more time to retrun the result
df.foreach(println)
can you please let me know how get the content of data frame in a optimized way?
My Environment is:Spark 1.3.1Windows 8Sample Data with  15000 records
Thank you,Vinod

Reply via email to