In earlier versions the MongoDB Output did not pass fields with null values; this was ideal for storing individual attributes, where one person may have 4 attributes and another may have only 2 attributes, because we did not waste space storing empty or null values. The newer versions pass these fields with null values; I would like the option to not pass these fields. Please see an example below. Thank you for your consideration.
Workflow Results
ID | Attribute1 | Attribute2 | Attribute3 | Attribute4 |
1 | A | B | C | D |
2 | Z | Y | | |
MongoDB Output Current Versions
{"_id" : "1",
"Attribute1" : "A",
"Attribute2" : "B",
"Attribute3" : "C",
"Attribute4" : "D"}
{"_id" : "2",
"Attribute1" : "Z",
"Attribute2" : "Y",
"Attribute3" : null,
"Attribute4" : null}
Desired MongoDB Output (previous functionality)
{"_id" : "1",
"Attribute1" : "A",
"Attribute2" : "B",
"Attribute3" : "C",
"Attribute4" : "D"}
{"_id" : "2",
"Attribute1" : "Z",
"Attribute2" : "Y"}