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

Make DocumentSource::joinMatchWith operate over original BSON predicate instead of its MatchExpression

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • v8.1, v8.0, v7.0, v6.0, v5.0
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In order to preserve the correctness issue fixed by SERVER-99121 this will also require calling MatchExpression::optimize before calling DocumentSourceMatch::descendMatchOnPath during the lookup/unwind/match optimization.

            Assignee:
            militsa.sotirova@mongodb.com Militsa Sotirova
            Reporter:
            militsa.sotirova@mongodb.com Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None