java.lang.UnsupportedOperationException: MongoCollection already exists

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.UnsupportedOperationException: MongoCollection already exists at com.mongodb.spark.sql.DefaultSource.createRelation(DefaultSource.scala:99) at com.mongodb.spark.sql.DefaultSource.createRelation(DefaultSource.scala:38) at org.apache.spark.sql.execution.datasources.ResolvedDataSource$.apply(ResolvedDataSource.scala:222) at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:148)
    No Bugmate found.