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

Create Switch ABT node

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-03-03, QE 2025-03-17
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      • derive from ABTOpDynamicArity<0>
      • the constructor accepts a vector of pairs of ABT node, plus a final ABT node, that are stored in the flat vector inherited from ABTOpDynamicArity
      • add the new type to the known walkers, using the logic used for the If node as a template:
        • SBEExpressionLowering
        • ExplainPrinter
        • LastRefsTransporter
        • ExpressionConstEval
        • TypeChecker
        • Vectorizer
        • ValueLifetime
      • add unit tests for the walkers to test the new logic
      • change buildABTMultiBranchConditionalFromCaseValuePairs so that it creates the Switch node if the feature flag is set to true

            Assignee:
            alberto.massari@mongodb.com Alberto Massari
            Reporter:
            alberto.massari@mongodb.com Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None