Re: Spark SQL implementation error

2015-01-06 Thread Pankaj Narang
As per telephonic call see how we can fetch the count val tweetsCount = sql("SELECT COUNT(*) FROM tweets") println(f"\n\n\nThere are ${tweetsCount.collect.head.getLong(0)} Tweets on this Dataset\n\n") -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spar

Re: Spark SQL implementation error

2014-12-30 Thread Michael Armbrust
Anytime you see "java.lang.NoSuchMethodError" it means that you have multiple conflicting versions of a library on the classpath, or you are trying to run code that was compiled against the wrong version of a library. On Tue, Dec 30, 2014 at 1:43 AM, sachin Singh wrote: > I have a table(csv file