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

[CQF] SortedMergeNode reference tracker logic excludes some definitions from children

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL

      The SortedMergeNode reference tracker logic added in SERVER-70637 only propagates definitions from its childResults if the variable name is included in its binded names.

      Adding new assertions to the reference tracker in SERVER-70880 raised an error in this sbe_abt_test case because the "pa" definition from the EvalNode does not get propagated through the SortedMergeNode; the RootNode then finds no projection exists for "pa". Either the test is wrong or we should reconsider the reference tracker behavior for SortedMergeNode.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: