docs/content/docs/sql/functions/user-defined-functions.md
Flink SQL supports user-defined functions (UDFs) to extend the built-in functionality. You can create custom scalar functions, table functions, and aggregate functions to use in your SQL queries.
Once you have developed a UDF, you can register it in SQL using the CREATE FUNCTION statement:
CREATE FUNCTION myudf AS 'com.example.MyScalarFunction';
See the [CREATE FUNCTION]({{< ref "docs/sql/reference/ddl/create" >}}#create-function) documentation for the full syntax.
Writing user-defined functions requires Java, Scala, or Python programming. For detailed information on how to develop UDFs, see the Table API documentation:
{{< top >}}