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

[CQF] Plan extractor passes wrong projections to EvaluationNode child

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • QO 2023-05-15
    • 142

    Description

      When we extract an EvaluationNode from the memo, we pass the 'required' projections unchanged to extract the child. This seems wrong because the EvaluationNode itself produces a binding, so we shouldn't be asking the child to also produce that binding.

      It should be more similar to how we handle GroupByNode, where we modify the required projections before passing it to the child node.

      I believe this is what's causing recursive_ix_nav.js to fail with a tassert (undefined variable) during lowering.

      Attachments

        Activity

          People

            david.percy@mongodb.com David Percy
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: