Drop unused field computations from projections

XMLWordPrintableJSON

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

      SERVER-129990 generalized SERVER-129906 to entirely drop projections which do not modify any of the fields the subsequent group stage uses. This can be generalized further to drop from a projection stage all fields it computes as an expression yet the following group stage does not use. Subsequently, an optimization similar to SERVER-129990 may be applied to potentially eliminate the projection stage altogether.

            Assignee:
            Unassigned
            Reporter:
            Kartal Kaan Bozdogan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: