diff --git a/pkg/internal/sqlsmith/setup.go b/pkg/internal/sqlsmith/setup.go index 9d6ddb0a61e6..045c84284b68 100644 --- a/pkg/internal/sqlsmith/setup.go +++ b/pkg/internal/sqlsmith/setup.go @@ -70,7 +70,9 @@ func randTables(r *rand.Rand) string { stmts := rowenc.RandCreateTables(r, "table", r.Intn(5)+1, mutations.ForeignKeyMutator, mutations.StatisticsMutator, - mutations.PartialIndexMutator, + // TODO(mgartner): Re-enable the partial index mutator once it is aware + // that it should not mutate unique indexes on foreign key references. + // mutations.PartialIndexMutator, ) for _, stmt := range stmts {