[SERVER-85454] Adjust cqf tests to account for parameterization Created: 19/Jan/24  Updated: 30/Jan/24  Resolved: 23/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.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:
Duplicate
is duplicated by SERVER-83512 Run CQF tests with parameterization Closed
is duplicated by SERVER-83597 Adjust CQF tests for parameterization Closed
is duplicated by SERVER-85147 [CQF] Profiler entry does not contain... Closed
is duplicated by SERVER-85149 [CQF] Profiler entry does not contain... Closed
Related
related to SERVER-85533 Investigate overlap between parameter... Backlog
Backwards Compatibility: Fully Compatible
Sprint: QO 2024-02-05
Participants:

 Description   

Currently, the following tests fail when run with parameterization because they expect plans with constant values, not FunctionCall [getParam] nodes:
- jstests/cqf/optimizer/redundant_conditions.js
- jstests/cqf/optimizer/index_hints.js: Queries on indexed collections with a $natural hint are eligible for the Bonsai plan cache, so their plans will contain getParam nodes.

These tests should be adjusted to account for parameterization.



 Comments   
Comment by Githook User [ 23/Jan/24 ]

Author:

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

Message: SERVER-85454 Turn on parameterization knob by default and adjust cqf tests to account for parameterization

GitOrigin-RevId: 147431599444c7d8e5c97f4feb14ab7a92258204
Branch: master
https://github.com/mongodb/mongo/commit/11866948d5594ac6efcc05cbc8c18d0ca939c637

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