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

Lookup on collated time-series collection produces incorrect results

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Integration
    • ALL

    Description

      A $lookup on a time-series collection that uses collation produces incorrect results. This is potentially because the $lookup part of the pipeline is using control summaries which are generated under the assumption that they are only used for collated queries. It seems like we are incorrectly using the it for non-collated queries.

      We should also test for $unionWith and $graphLookup which also allow foreign collections.

      Attachments

        Activity

          People

            backlog-query-integration Backlog - Query Integration
            arun.banala@mongodb.com Arun Banala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: