diff --git a/pkg/internal/sqlsmith/schema.go b/pkg/internal/sqlsmith/schema.go index 086d5c7f7ad2..411ee5b2cd5e 100644 --- a/pkg/internal/sqlsmith/schema.go +++ b/pkg/internal/sqlsmith/schema.go @@ -493,6 +493,7 @@ var functions = func() map[tree.FunctionClass]map[oid.Oid][]function { "crdb_internal.unsafe_", "crdb_internal.create_join_token", "crdb_internal.reset_multi_region_zone_configs_for_database", + "crdb_internal.reset_index_usage_stats", } { skip = skip || strings.Contains(def.Name, substr) } diff --git a/pkg/workload/tpcc/result.go b/pkg/workload/tpcc/result.go index 3394277256f2..1432b1c4a443 100644 --- a/pkg/workload/tpcc/result.go +++ b/pkg/workload/tpcc/result.go @@ -192,7 +192,7 @@ func (r *Result) FailureError() error { if !exists { return errors.Errorf("no %v data exists", query) } - if v := time.Duration(h.ValueAtQuantile(.9)); v > max90th { + if v := time.Duration(h.ValueAtQuantile(90)); v > max90th { err = errors.CombineErrors(err, errors.Errorf("90th percentile latency for %v at %v exceeds passing threshold of %v", query, v, max90th))