📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

SHOW USER FUNCTIONS



Lists all user-defined functions including scalar functions, table functions, embedded functions, and external functions.

Syntax

SHOW USER FUNCTIONS

Output Columns

ColumnDescription
nameFunction name
is_aggregateWhether it's an aggregate function (NULL for UDFs)
descriptionFunction description if provided
argumentsFunction parameters in JSON format
languageProgramming language: SQL, python, javascript, wasm, or external
created_onFunction creation timestamp

Examples

SHOW USER FUNCTIONS; ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ name │ is_aggregate │ description │ arguments │ language │ created_on │ │ String │ Nullable(Boolean) │ String │ Variant │ String │ Timestamp │ ├────────┼───────────────────┼─────────────┼───────────────────────────────┼──────────┼────────────────────────────┤ │ get_v1 │ NULL │ │ {"parameters":["input_json"]} │ SQL2024-11-18 23:20:28.432842 │ │ get_v2 │ NULL │ │ {"parameters":["input_json"]} │ SQL2024-11-18 23:21:46.838744 │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Was this page helpful?