Adjust cqf tests to account for parameterization

XMLWordPrintableJSON

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

      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
            Reporter:
            Lynne Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: