Support for PointType values

87 views
Skip to first unread message

Francis Cheung

unread,
Jun 19, 2018, 12:53:21 PM6/19/18
to DataStax Spark Connector for Apache Cassandra
I'm using Azure Databricks running Spark 2.3 and Scala 2.11. I'm trying to use the spark-cassandra-connector to read/write geospatial data, specifically PointType. I have a Cassandra table populated with PointType data but get the following error when reading the table in Spark:

java.util.NoSuchElementException: key not found: 'org.apache.cassandra.db.marshal.PointType'

Does the spark-cassandra-connector support geospatial types?
https://docs.datastax.com/en/dse/6.0/cql/cql/cql_using/search_index/queriesGeoSpatial.html

Alex Ott

unread,
Jun 19, 2018, 3:01:56 PM6/19/18
to spark-conn...@lists.datastax.com
Hi Francis

You need to use DataStax version of the Spark Connector that is available as part of DSE (per license you can use it only with DSE).

P.S. But running on DSE Analytics could be more optimized in some cases...



--
You received this message because you are subscribed to the Google Groups "DataStax Spark Connector for Apache Cassandra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spark-connector-user+unsub...@lists.datastax.com.



--
With best wishes,                    Alex Ott
http://alexott.net/
Twitter: alexott_en (English), alexott (Russian)
Reply all
Reply to author
Forward
0 new messages