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

Make find and agg translation for match expressions consistent

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QO 2022-11-28, QO 2022-12-12

      In the translation code for DocumentSourceMatch, we translate the match expression. Then, if the resulting ABT has a top-level composition, we flatten it into a chain of separate FilterNodes. In the find path, we don't do this second flattening step. This seems problematic. We probably want the ABTs for match expressions generated by the find path and agg path to be consistent.

            Assignee:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Reporter:
            hana.pearlman@mongodb.com Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: