-
Type:
Improvement
-
Resolution: Done
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Aggregation, Test Coverage
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The test com.mongodb.client.model.AggregatesTest#testDocumentsLookup is failing against the mainline server build (post 7.0 release). The pipeline is:
[
{'$lookup': {'from': 'ignored', 'pipeline': [{'$documents': [{'a': 5}]}], 'as': 'added'}}
]
and the server error is:
{
"ok": 0.0,
"errmsg": "'$documents' can only be run with {aggregate: 1}",
"code": 73,
"codeName": "InvalidNamespace"}
Checking with query execution team whether this change is intentional, but meanwhile we should at least disable the test.