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

Translate parameterized MatchExpression to ABT getParam function call

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • QO 2023-09-18, QO 2023-10-02
    • 135

      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

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

              Created:
              Updated:
              Resolved: