I have imported a json file in Spark and convertd it into a table as
myDF.registerTempTable(\"myDF\")
I then want to run SQL queries on th
Backticks (`) appear to work, so
val newTable = sqlContext.sql("select `column-1` from myDF")
should do the trick, at least in Spark v1.3.x.