Re: Spark SQL taking long time to print records from a table

2015-02-04 Thread Imran Rashid
ng") > > val result = sqlContext.sql("SELECT * FROM > AcctNPIScore").collect().foreach(println) > > //acctNPIScr.map(t => "Score: " + t(1)).collect().foreach(println) > > logger.info("Total printing Time :" + (System.currentT

Spark SQL taking long time to print records from a table

2015-02-03 Thread jguliani
:" + (System.currentTimeMillis() - endtime)) // print one record is taking almost 1.5 minute -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-taking-long-time-to-print-records-from-a