O'Reilly logo
  • Sam Zeitlin thinks this is interesting:

val topTweetText = topTweets.map(row => row.getString(0))


Cover of Learning Spark
  • 9. Spark SQL
  • from Learning Spark
  • by Matei Zaharia, Patrick Wendell, Andy Konwinski, Holden Karau
  • Publisher: O'Reilly Media, Inc.
  • Released: February 2015


see the docs for the newer versions, this will give you something, but it's the wrong result