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

Report stricter list of dependencies for $unionWith stage

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Optimization

    Description

      The $unionWith stage currently reports that it requires the whole document in order to maintain consistency between each branch of the union operation. Conceptually, we could do better (and potentially get a covered plan) if the union stage acted like more of a passthrough case and allowed an inclusion projection of referenced fields to be pushed down to the query system. However, if we were to allow this, it would also be desirable to push this subset of fields to the inner pipeline of the union.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: