Unable to import org.apache.spark.sql.cassandra.CassandraSQLContext

2k Views Asked by At

I have the spark-cassandra-connector_2.11-2.0.0-M3.jar in my path but still unable to import org.apache.spark.sql.cassandra.CassandraSQLContext. Is this in some other package- all documentation points to this package (or deprecated).

Thanks

1

There are 1 best solutions below

0
On

The CassandraSQLContext has been deprecated. Please check https://datastax-oss.atlassian.net/browse/SPARKC-399. Please check SO post how to use Cassandra Context in spark 2.0 for the details.