diff --git a/pkg/ccl/telemetryccl/testdata/telemetry/generic b/pkg/ccl/telemetryccl/testdata/telemetry/generic index cdf25c994b70..323f5f62b9ed 100644 --- a/pkg/ccl/telemetryccl/testdata/telemetry/generic +++ b/pkg/ccl/telemetryccl/testdata/telemetry/generic @@ -29,7 +29,7 @@ WHERE v = $1 ---- feature-list -sql.plan.type.* +sql.plan.type.force-custom ---- exec @@ -63,6 +63,10 @@ feature-usage SELECT * FROM kv WHERE v = 100 ---- +feature-list +sql.plan.type.force-generic +---- + exec SET plan_cache_mode = force_generic_plan ---- @@ -90,12 +94,20 @@ exec SET plan_cache_mode = auto ---- +feature-list +sql.plan.type.auto-generic +---- + # If the placeholder fast-path is used, the plan is always generic. feature-usage EXECUTE p_pk(100) ---- sql.plan.type.auto-generic +feature-list +sql.plan.type.auto-custom +---- + # The first five executions of p_join have custom plans while establishing an # average cost. One of the custom executions occurred above. feature-usage @@ -118,6 +130,11 @@ EXECUTE p_join(5) ---- sql.plan.type.auto-custom + +feature-list +sql.plan.type.auto-generic +---- + # The sixth execution uses a generic plan. feature-usage EXECUTE p_join(6)