hereI have setup Cassandra and Spark with cassandra- spark connector. I am able to create RDDs using Scala. But I would like to run complex SQL queries (Aggregation/Analytical functions/Window functions) using Spark SQL on Cassandra tables , could you help how should I proceed ?getting error like this
following is the query used : sqlContext.sql( """CREATE TEMPORARY TABLE words |USING org.apache.spark.sql.cassandra |OPTIONS ( | table "words", | keyspace "test", | cluster "Test Cluster", | pushdown "true" |)""".stripMargin)
below is the error :[enter image description here][2]
new error: enter image description here