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

Adjust cqf tests to account for parameterization

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2024-02-05

    Description

      Currently, the following tests fail when run with parameterization because they expect plans with constant values, not FunctionCall [getParam] nodes:
      - jstests/cqf/optimizer/redundant_conditions.js
      - jstests/cqf/optimizer/index_hints.js: Queries on indexed collections with a $natural hint are eligible for the Bonsai plan cache, so their plans will contain getParam nodes.

      These tests should be adjusted to account for parameterization.

      Attachments

        Activity

          People

            lynne.wang@mongodb.com Lynne Wang
            lynne.wang@mongodb.com Lynne Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: