require "gcloud"gcloud = Gcloud.newbigquery = gcloud.bigquerysql = "SELECT TOP(word, 50) as word, COUNT(*) as count " + "FROM publicdata:samples.shakespeare"job = bigquery.query_job sqljob.wait_until_done!if !job.failed? job.query_results.each do |row| puts row["word"] endend
Use promo code NEXT1720 to save $300 off general admission
No comments :
Post a Comment