Make find and agg translation for match expressions consistent

XMLWordPrintableJSON

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

      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
              Reporter:
              Hana Pearlman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: