I'm issuing the following SQL statement against a tempview
cloudantdata.createOrReplaceTempView("washingflat")
sqlDF = spark.sql("SELECT temperature FROM washingflat")
sqlDF.rdd.map(lambda row : row.temperature).collect()
I'm just interested in the plain (unwrapped) integer values. All I've tried so far with the dataframe API always returned Row-objects wrapping the values I'm interested in.
Is there a way to get the scalar contents without using the RDD api?