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

Ensure that pushed down $lookup works correctly when the foreign collection does not exist

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Backlog
    • None
    • None
    • Fully Compatible
    • QE 2022-04-04, QE 2022-03-21

    Description

      When the 'from' collection in a $lookup doesn't exist, we should produce an empty array in the 'as' field for each output document. This ticket tracks the work to ensure that this works for each join algorithm implemented in this project.

      Attachments

        Activity

          People

            rui.liu@mongodb.com Rui Liu
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: