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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0, 8.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • v8.1, v8.0, v7.0, v6.0, v5.0
    • 200
    • None
    • 3
    • 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
            Reporter:
            Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: