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
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