Always attribute fields preserved by an inclusion projection to their originating stage

XMLWordPrintableJSON

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

      When an inclusion projection preserves a leaf path, PipelineDependencyGraph::getPrevModifyingStage() attributes it to the projection rather than to the stage that actually last modified it.

       

      E.g. in [\{$set: {'a.b.c': 1}}, \{$project: {'a.b.c.d': 1}}], the graph reports that 'a.b.c.d' was modified by the projection.

            Assignee:
            Unassigned
            Reporter:
            Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: