Thanks, Jim.
I have seen the pyspark-cassandra library but my goal is to stay with the Spark-Cassandra-connector as much as I can. I'm also investigating another approach that does not require this delete action as I know this will lead to tombstones and degraded performance in a while.
Similar to the question, I was trying to use java_gateway library (in python) to access CassandraJavaUtil.javaFunctions
which provides access to cassandraTable(), and in my case I'd like to access deleteFromCassandra().
But I haven't been able to make it work so far. For some reason, I cannot call either of those above cassandra functions.
Any recommendation to make something like that work would be appreciated. Also, please feel free to share your thoughts in terms of potential performance impacts due to using java_gateway.
* Also thanks Sindhuja for bringing attention to this question :)
Thanks again.
Ebad