Write a targeted PBT to test $expr splitting optimization

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket is to write a PBT that runs queries targeted to hit the new $expr-splitting optimization from SERVER-106505. This PBT would compare the results of those queries when running against a server with optimizations enabled (uses the new code path) and a server with optimizations disabled.

      The queries could have a computing/renaming operation following by a $match with $expr+$and. For example:

      [{$project|$group|$addFields: {...}}, {$match: {$expr: {$and: [...]}}}] 

       

            Assignee:
            Unassigned
            Reporter:
            Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: