Reputation: 733
I want to do an update/upsert in cassandra using spark RDD, may I know how it is possible?
Update employee set salary = '' where empId = ''
Upvotes: 0
Views: 756
Reputation: 8812
Just use rdd.saveToCassandra()
with the columns to be updated/inserted
Upvotes: 1