Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
3.6.0
-
None
-
Query Optimization
Description
Consider an aggregation pipeline that uses $lookup to write to multiple namespaces via $out:
db.coll0.aggregate([
|
{$lookup: {from: "coll1", pipeline: [{$out: "coll2"}], as: "empty"}}, |
{$lookup: {from: "coll3", pipeline: [{$out: "coll4"}], as: "empty"}} |
], {bypassDocumentValidation: true}); |
The bypassDocumentValidation specification will apply to all of the target namespaces (coll2 and coll4). If this is a feature we'd like to support, it would be nice to offer the ability to tune the bypassDocumentValidation option on a per-target collection basis.
Attachments
Issue Links
- is related to
-
SERVER-35419 Make diskRequirement in StageConstraints in DocumentSource reflect child pipeline requirements.
-
- Closed
-