[SERVER-81919] Parameterize supported agg pipelines Created: 05/Oct/23  Updated: 27/Nov/23  Resolved: 27/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Lynne Wang Assignee: Lynne Wang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-83100 [CQF] Use-after-free in aggregation w... Closed
depends on SERVER-81940 Compute eligibility independent of fr... Closed
is depended on by SERVER-81422 Binding of MatchExpression parameters... Closed
is depended on by SERVER-81809 Plan cache key encoding for agg pipel... Closed
is depended on by SERVER-81955 M1. Parameterized Query Optimization ... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-10-16, QO 2023-10-30, QO 2023-11-13
Participants:

 Description   

Before call to translatePipelineToABT in cqf_get_executor, check if pipeline is eligible for parameterization. If so, perform parameterization



 Comments   
Comment by Githook User [ 13/Oct/23 ]

Author:

{'name': 'Lynne Wang', 'email': 'lynne.wang@mongodb.com', 'username': 'lynne-wang'}

Message: SERVER-81919 Parameterize supported agg pipelines

Cleaned up logic to check stage names instead of casting to stage

Testing to verify _isCacheable logic for pipelines works correctly

Added unit and jstests for pipeline parameterization

Clarifying comments on parameterized_agg resmoke test

Refactored jstest, re-enabled unparameterization for find cmds

Renamed test to verify correct parameterization of agg pipelines in abt lowering

Added clang formatting

Added flag to turn off param until E2E parameterization working

Fixed flag logic
Branch: master
https://github.com/mongodb/mongo/commit/c831af12d67cdbfb939292bba1c0ba3ecf659c8e

Generated at Thu Feb 08 06:47:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.