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

XMLWordPrintableJSON

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

      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:
              [DO NOT USE] Backlog - Query Optimization
              Reporter:
              Will Buerger
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: