Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-62810

[ABT] Consider if we should introduce a first class "Fail" expression

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Optimization

      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").

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            andrew.paroski@mongodb.com Drew Paroski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: