MongoDB Spark connector partition field

Also, with regards to the documentation:

in the aggregation.pipeline setting, can someone explain the {"$match": {"closed": false}} meaning and if the closed:false is necessary in the config/code - or how the implementation works