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

Implement renames for kOther and kArrayMatching MatchExpressions

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

      This came up in https://jira.mongodb.org/browse/SERVER-39938 as part of the code review discussion.

      In order to check if MatchExpressions categorised as kOther and kArrayMatching can be swapped with other stages because they are independent, we first need to be able to handle renames for these expressions. (See applyRenamesToExpression() in src/mongo/db/matcher/expression_algo.cpp)

      Note: There are a number of descriptive tests in src/mongo/db/pipeline/pipeline_test.cpp that will likely have to be updated to test for swapping behaviour once renames are implemented and isIndependentOf can be applied to these expression types.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            alya.berciu@mongodb.com Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: