plain] view plaincopyprint?c.registerTempTable("obd") val set = sqlContext.sql("select * from obd") set.collect().foreach(println)