ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1026
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We added the MatchExpression filtering in SERVER-138067 before agg. expression narrowing.

      Now we need to extend the logic to narrowType for Expression.
      This means that for {$expr: {$and: [{$eq: ["$a", ..]}, {$eq: ["$b", ..]}, {$eq: ["$c", ..]}}, if we are only interested in 'a' we only narrow the type of 'a' and leave 'b' and 'c' unconstrained.

            Assignee:
            Henri Nikku
            Reporter:
            Vesko Karaganev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: