[SERVER-59892] Convert ExpressionWithPlaceholder into a MatchExpression Created: 11/Sep/21 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Timour Katchaounov | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | quick-tech-debt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Optimization
|
||||||||
| Participants: | |||||||||
| Description |
|
Class ExpressionWithPlaceholder is a pair of a MatchExpression, and a string. This is very unfortunate as it prevents this class from being processed as part of a MatchExpression tree. Specifically this makes it very hard to implement common storage for the children of all MatchExpression classes, which in turn prevents the implementation of SERVER-54740. This task should implement ExpressionWithPlaceholder as a subclass of MatchExpression with a single class member - boost::optional<std::string> _placeholder; |