[SERVER-62810] [ABT] Consider if we should introduce a first class "Fail" expression Created: 20/Jan/22 Updated: 21/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | 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 | ||
| Assigned Teams: |
Query Optimization
|
| Participants: |
| Description |
|
At present, in the ABT we have special case logic so that the ABT->SBE lowering process will take FunctionCalls to "fail" and lower them down to EFail expressions. Svilen proposed that we might want to explore adding a first class "Fail" expression to the ABT. The goal of this ticket is to (1) determine if we should introduce a first class "Fail" expression to the ABT; and (2) if the answer is "yes" then implement a first class "Fail" expression and update the ABT->SBE lowering process accordingly (and remove the special case logic for lowering FunctionCalls to "fail"). |