If we see contradicting $match/$projection, EOF

XMLWordPrintableJSON

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

      If a query is of the form: {$project: {a: "X"}}, {$match: {a: "y"}}, we should be able to realize this plan cannot return any results without trying to even begin executing it. This is the sort of thing that comes up for views.

              Assignee:
              Unassigned
              Reporter:
              Alya Berciu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: