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

[CQF] Derive query parameter types from QueryParametersMap

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

      SERVER-80917 translated MatchExpressions with a parameter marker to a FunctionCall[getParam] node with two children: (1) Constant representing the parameter ID and (2) Constant representing the SBE type tag of the constant.

      SERVER-83423 is storing the constants themselves in an auxiliary structure called QueryParametersMap.

      To avoid storing duplicate information, we can remove the 2nd child of the FunctionCall node which this information can be derived by looking up the constant in the QueryParameterMap.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: