[SERVER-82148] [CQF] Use parameter type information in constant folding optimization Created: 12/Oct/23  Updated: 27/Nov/23  Resolved: 08/Nov/23

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: Ben Shteinfeld Assignee: Ben Shteinfeld
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-83147 [CQF] Support constant folding of NaN... Closed
is depended on by SERVER-83427 [CQF] Improve constant folding for An... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-11-13
Participants:

 Description   

Parameters are represented in the plan as FunctionCall [getParam] ABT nodes, which have children representing the parameter index and the SBE type. We should make use of this type information during constant folding.



 Comments   
Comment by Githook User [ 08/Nov/23 ]

Author:

{'name': 'Ben Shteinfeld', 'email': 'ben.shteinfeld@mongodb.com', 'username': 'bshteinfeld'}

Message: SERVER-82148 Use query parameter type information during constant folding.
Branch: master
https://github.com/mongodb/mongo/commit/7fe2b89eb8c50cd9ae19f6d4cea51dd1b072b21a

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