Skip to main content

SHOW USER FUNCTIONS

Introduced or updated: v1.2.558

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
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today