Remove raw projection BSON from projection stages

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: 4.3 Desired
    • Component/s: None
    • None
    • Fully Compatible
    • Query 2019-11-18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we store a raw projection BSON within the base projection stage

      This BSON object is required (after the stage has been constructed) to populate projection stats, which is only used by explain. If we can know up-front whether we will actually need to populate the stats, then we can pass the raw projection as an optional parameter, instead of keeping it around all the time.

      This ticket is created to consider this possibility.

            Assignee:
            Anton Korshunov
            Reporter:
            Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: