Uncorrelated $match constant not correctly initialized for join opt in sbe full

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2026-01-19
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Note: this only applies when featureFlagSbeFull is enabled.

      See TODO in jstests/query_golden/join_opt/basic_joins_md.js. If we have a $match with an uncorrelated sub-pipeline, the constant may not be correctly initialized in the SBE runtime environment when SBE full is enabled. This could be related to how we handle multiple CQs.

            Assignee:
            Alberto Massari
            Reporter:
            Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: