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

[CQF] Derive query parameter types from QueryParametersMap

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Optimization

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: