Skip to main content

User-defined functions

You can define your own functions (including table functions) and call these functions in RisingWave. With the user-defined function (UDF), you can tailor RisingWave to your needs.

At present, there are two ways to define your UDF. The first option is to use it as an external function, leveraging the capabilities of languages such as Python and Java to perform advanced data processing and analysis tasks. The second option is to use a SQL UDF. Currently, we support basic anonymous SQL UDFs and are actively working on enhancing the capabilities of SQL UDFs.

Beta feature

UDF is currently in Beta. Please contact us if you encounter any issues or have feedback.

UDFs as external functions

RisingWave supports creating UDFs with the following programming languages:


For details about how to create a SQL UDF and its use cases, see:

See also

You may also use UDFs to query data stored in different databases

Help us make this doc better!

Was this page helpful?

Happy React is loading...