-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
ALL
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This error message is confusing and misleading:
db.lineitem.aggregate([{'$lookup': {'from': 'orders', as: 'orders'}}]);
MongoServerError[FailedToParse]: $lookup requires both or neither of 'localField' and 'foreignField' to be specified
The query satisfies the "neither" condition, so the error message is incorrect. The problem with this query is that the pipeline argument to $lookup is missing.
- is related to
-
SERVER-129612 Investigate why tests tagged with `requires_fcv_90` aren't skipped locally on query_shape multiversion suites
-
- Needs Scheduling
-