diff --git a/docs/generated/sql/functions.md b/docs/generated/sql/functions.md index a90da524db84..8da02df7bbc4 100644 --- a/docs/generated/sql/functions.md +++ b/docs/generated/sql/functions.md @@ -3103,7 +3103,7 @@ table. Returns an error if validation fails.

crdb_internal.round_decimal_values(val: decimal[], scale: int) → decimal[]

This function is used internally to round decimal array values during mutations.

-crdb_internal.schedule_sql_stats_compaction(session: bytes) → bool

This function is used to start a SQL stats compaction job.

+crdb_internal.schedule_sql_stats_compaction() → bool

This function is used to start a SQL stats compaction job.

crdb_internal.serialize_session() → bytes

This function serializes the variables in the current session.

diff --git a/pkg/sql/sem/builtins/builtins.go b/pkg/sql/sem/builtins/builtins.go index 3d27fcaad6ee..b0f7738d78a3 100644 --- a/pkg/sql/sem/builtins/builtins.go +++ b/pkg/sql/sem/builtins/builtins.go @@ -6535,7 +6535,7 @@ table's zone configuration this will return NULL.`, Category: categorySystemInfo, }, tree.Overload{ - Types: tree.ArgTypes{{"session", types.Bytes}}, + Types: tree.ArgTypes{}, ReturnType: tree.FixedReturnType(types.Bool), Fn: func(evalCtx *eval.Context, args tree.Datums) (tree.Datum, error) { if evalCtx.SQLStatsController == nil {