Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41418

De-couple 'Variables' from agg 'ExpressionContext'

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Aggregation Framework
    • None
    • Query Optimization

    Description

      This is a follow up ticket to SERVER-41065, where we thought that it would make more sense to make sense to remove 'Variables' object from 'ExpressionContext'. Since 'evaluate()' uses the variables passed as the parameters, there is no value in having them in 'ExpressionContext'

      As part of this ticket we can also make ExpressionContext const through out the expression tree. 'ExpressionContext' is not being modified anymore and this change should be straight forward.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            arun.banala@mongodb.com Arun Banala
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: