[SERVER-83824] [CQF] Derive query parameter types from QueryParametersMap Created: 01/Dec/23  Updated: 25/Jan/24

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Ben Shteinfeld Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Participants:

 Description   

SERVER-80917 translated MatchExpressions with a parameter marker to a FunctionCall[getParam] node with two children: (1) Constant representing the parameter ID and (2) Constant representing the SBE type tag of the constant.

SERVER-83423 is storing the constants themselves in an auxiliary structure called QueryParametersMap.

To avoid storing duplicate information, we can remove the 2nd child of the FunctionCall node which this information can be derived by looking up the constant in the QueryParameterMap.


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