spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pankaj Narang <>
Subject Re: Spark SQL implementation error
Date Wed, 07 Jan 2015 06:02:47 GMT
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:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message