[SERVER-32309] Serialize variables within nested pipelines which are defined in an outer context Created: 13/Dec/17  Updated: 30/Oct/23  Resolved: 15/Jun/21

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Querying
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: Alya Berciu
Resolution: Fixed Votes: 0
Labels: open_todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-32308 Add the ability for a $lookup stage t... Closed
depends on SERVER-38544 Serialize optimized $match stage inst... Closed
is depended on by SERVER-38830 Support sharded $lookup 'let' variabl... Closed
is depended on by SERVER-57372 Complete TODO listed in SERVER-38830 Closed
Duplicate
is duplicated by SERVER-38830 Support sharded $lookup 'let' variabl... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query Optimization 2021-05-31, Query Optimization 2021-06-14, Query Optimization 2021-06-28
Participants:

 Description   

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.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 16/Jun/21 ]

Author:

{'name': 'Alya Berciu', 'email': 'alyacarina@gmail.com', 'username': 'alyacb'}

Message: SERVER-32309 Allow lookup_subpipeline.js to run with sharded suites
Branch: SERVER-34632
https://github.com/mongodb/mongo/commit/1740b408ddb5fc755f28d922969221518a7f08bb

Comment by Githook User [ 15/Jun/21 ]

Author:

{'name': 'Alya Berciu', 'email': 'alyacarina@gmail.com', 'username': 'alyacb'}

Message: SERVER-32309 Allow lookup_subpipeline.js to run with sharded suites
Branch: master
https://github.com/mongodb/mongo/commit/1740b408ddb5fc755f28d922969221518a7f08bb

Generated at Thu Feb 08 04:29:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.