-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework, Querying
-
Fully Compatible
-
Query Optimization 2021-05-31, Query Optimization 2021-06-14, Query Optimization 2021-06-28
Add the ability for a variable defined in a let in one $lookup stage to be referenced within a subpipeline of a nested $lookup, when all collections involved are sharded.
This should include serializing a constant-variable ExpressionFieldPath to be the constant, and to serialize a nested pipeline via serialize() rather than returning the unparsed version.
- depends on
-
SERVER-32308 Add the ability for a $lookup stage to execute on mongos against a sharded foreign collection
- Closed
-
SERVER-38544 Serialize optimized $match stage instead of original BSON
- Closed
- is depended on by
-
SERVER-38830 Support sharded $lookup 'let' variable serialization for shard to shard routing
- Closed
-
SERVER-57372 Complete TODO listed in SERVER-38830
- Closed
- is duplicated by
-
SERVER-38830 Support sharded $lookup 'let' variable serialization for shard to shard routing
- Closed