[SERVER-61420] Create MatchExpression visitor to set paramId on tree nodes Created: 11/Nov/21  Updated: 29/Oct/23  Resolved: 18/Jan/22

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

Type: Task Priority: Major - P3
Reporter: Anton Korshunov Assignee: Alexander Ignatyev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: QO 2021-11-29, QO 2021-12-13, QO 2021-12-27, QO 2022-01-10, QO 2022-01-24
Participants:
Linked BF Score: 53

 Description   

After a MatchExpression tree is normalised (optimized and sorted) we should walk the tree and assign input parameters ID for leaf expressions which are eligible for auto parametrization. This should be done by creating a MatchExpression visitor to implement this logic.



 Comments   
Comment by Githook User [ 21/Jan/22 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-61420 Use ComparisonMatchExpressionBase for auto parameterization
Branch: master
https://github.com/mongodb/mongo/commit/aefc453251554ba8a36402554bb38a913245e9eb

Comment by Githook User [ 18/Jan/22 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-61420 Create MatchExpression visitor to set paramId on tree nodes
Branch: master
https://github.com/mongodb/mongo/commit/271b0ed95bb065a4c46a4da4e0ddd0dcf2799543

Generated at Thu Feb 08 05:52:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.