I\'m trying to save a dataframe to a mongodb like this:
write_format = dataframe.write.format("com.mongodb.spark.sql.DefaultSource").mode(mode) host = w