Make STAGE_AND_HASH and STAGE_AND_SORTED SBE-ineligible in new get executor

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the old get_executor, we knew if SBE or Classic would be used before any planning occurred. When SBE is used, we would set planner options with "TARGET_SBE_STAGE_BUILDER", meaning plans with hashed AND and sorted AND nodes would not be enumerated.

      For our deferred engine selection, we don't know which engine will be targeted when plans are enumerated. This means if we see one of these stages during engine selection, we should mark the query as SBE-ineligible.

            Assignee:
            Unassigned
            Reporter:
            Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: