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

Adjust cqf tests to account for parameterization

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2024-02-05

      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.

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

              Created:
              Updated:
              Resolved: