I am using Mongo-Hadoop connector to work with Spark and MongoDB.I want to delete the documents in an RDD from the MongoDB,looks there is a MongoUpdateWritable to support document update. Is there way to do deletion with Mongo-Hadoop connector?
Thanks
If you want only delete records in an RDD use the functions of the Spark API, like map, reduce, filter...
If you want save later the results, use the MongoUpdateWriteble.
Look the basics: Mongo-Hadoop-Spark
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With