How to not write null column with Mongo Spark?

It is documented here that null-valued column will be written into MongoDB. Is there anyway we could bypass this

Before v10 Spark connector, the Spark connector didn’t write null value column into MongoDB. This is changed after v10. There is a tracker ticket to make this configurable:

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.