[SERVER-62526] Implement a structured way to lower ABT FunctionCall nodes to SBE expressions Created: 11/Jan/22 Updated: 17/Jan/23 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Drew Paroski | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Optimization
|
||||||||
| Participants: | |||||||||
| Description |
|
See the "TODO" comment in SBEExpressionLowering::transport(). The goal of this task is to design and implement a scheme for mapping ABT functions to SBE functions. |
| Comments |
| Comment by Davis Haupt (Inactive) [ 17/Jan/23 ] |
|
The TODO in the code for this ticket specifically looks at the mapping of MQL-style names (e.g. "$sum") to SBE function names (e.g. "sum"). This translation makes the most sense at the MQL->ABT translation level, and ABT FunctionCalls should almost always map directly to SBE EFunctions. Most existing function calls are not a part of M2, so
Feel free to close this ticket if we will stick with stringly-typed functions. |