Skip to main content

External Function

This page provides a comprehensive overview of External Function operations in Databend, organized by functionality for easy reference.

External Function Management​

CommandDescription
CREATE FUNCTIONCreates a new external function
ALTER FUNCTIONModifies an existing external function
DROP FUNCTIONRemoves an external function

SQL-Managed Destinations​

Use External Access Integrations to bind remote scalar UDFs to host/port rules. A nonempty operator allow list remains an upper limit. SQL policies do not grant network access to inline script UDFs.

note

External Functions in Databend allow you to extend SQL with custom logic running on a remote server. The server communicates with Databend over the Apache Arrow Flight protocol. The remote handler can be written in any language — Python is the most common choice via the databend-udf package.

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