SBE doesn't apply exclusion projection when present in QSN

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      See projections_md.js introduced in SERVER-128365- this test case generates incorrect results (obj.subobj is included):

      {$project: {"obj.subobj": 0}},
      {$lookup: {from: b.getName(), as: "j1", pipeline: [{$project: {"_id": 0}}]}},
      {$unwind: "$j1"},
      {$match: {$expr: {$eq: ["$j1.b", "$a"]}}}

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

              Created:
              Updated: