Skip to content

Instantly share code, notes, and snippets.

@chbatey
Last active August 29, 2015 14:24
Show Gist options
  • Save chbatey/abddd26af0599a8e94bf to your computer and use it in GitHub Desktop.
Save chbatey/abddd26af0599a8e94bf to your computer and use it in GitHub Desktop.
val singleWeatherStation: Array[Double] = sc.cassandraTable[Double]
("isd_weather_data", "raw_weather_data")
.select("temperature").where("wsid = ?", "725030:14732")
.collect()
println(StatCounter(singleWeatherStation))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment