Skip to content

sql: use optimizer cost perturbation and disable rule settings for metamorphic testing #93825

@rytaft

Description

@rytaft

We created session settings testing_optimizer_cost_perturbation and testing_optimizer_disable_rule_probability to use for the randomized tests costfuzz and unoptimized_query_oracle. We should also use them as metamorphic constants that are used with metamorphic testing. This will give us more test coverage.

Jira issue: CRDB-22542

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-queriesSQL Queries Teamv26.3.0-prerelease

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions