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

Translate parameterized MatchExpression to ABT getParam function call

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • Fully Compatible
    • QO 2023-09-18, QO 2023-10-02
    • 135

    Description

      For all match expressions which currently support parameterization (via get/set paramid), we should translate as follows:

      • Parameterized constants will generate an ABT FunctionCall node with arguments:
        • name="getParam" and children: param id as integer, and param type as SBE type tag (both as ABT constants)
      • Include Golden tests in abt_translation_test.cpp

      Parameterized expressions currently supported in ABT:

      • Comparison MatchExpressions
      • InMatchExpression
      • SizeMatchExpression
      • TypeMatchExpression
        • Currently not parameterized and will not be translated as part of this ticket. c.f. SERVER-64776

      Parameterized expressions currently unsupported in ABT:

      • BitsAllClearMatchExpression
      • BitsAllSetMatchExpression
      • BitsAnyClearMatchExpression
      • BitsAnySetMatchExpression
      • ModMatchExpression
      • WhereMatchExpression

      Attachments

        Activity

          People

            lynne.wang@mongodb.com Lynne Wang
            jess.balint@mongodb.com Jess Balint
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: