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

Migrate evaluate() for shard-based expressions

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

      Create a new header src/mongo/db/exec/expression/evaluate.h and define a namespace mongo::exec::expression with a set of functions

      Value evaluate(const ExpressionInternalOwningShard& expr, const Document& root, Variables* variables)

      one for each

      • ExpressionInternalOwningShard
      • ExpressionInternalIndexKey

      The body of the functions will be in a src/mongo/db/exec/expression/evaluate_shard.cpp and will be taken from the evaluate() method, and the evaluate() method will be changed so that it calls the new method.

            Assignee:
            projjal.chanda@mongodb.com Projjal Chanda
            Reporter:
            alberto.massari@mongodb.com Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: