[SERVER-49486] Ensure that tagging of MatchExpression nodes with ErrorAnnotation nodes works with new parser Created: 13/Jul/20  Updated: 06/Dec/22

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

Type: Task Priority: Major - P3
Reporter: Mihai Andrei Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: PM-1749-find-milestone, qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Participants:

 Description   

SERVER-49022 introduces the 'ErrorAnnotation' type, which is used to provide information about an operator for generating document validation errors such as the operator's name, how it was specified by the user, and the desired error generation behavior. Currently, these ErrorAnnotations are constructed at parse time within expression_parser.cpp so, suffice it to say, before the MatchExpression parser is removed (SERVER-49485), the construction of these ErrorAnnotations should be moved elsewhere (perhaps during the translation of CST to MatchExpression; SERVER-48790) so that error generation for document validation does not break.


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