Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/content/docs/dev/python/table/udfs/python_udfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ User-defined functions are important features, because they significantly extend

**NOTE:** Python UDF execution requires Python version (3.6, 3.7 or 3.8) with PyFlink installed. It's required on both the client side and the cluster side.

## Bundling UDFs

**NOTE:** To run Python UDFs (as well as Pandas UDF) in any non-local mode, it is strongly recommended to bundle your UDF definitions using the config option [`python-files`]({{< ref "docs/dev/python/python_config" >}}#python-files), if your UDFs live outside of the file where the `main()` function is defined. Otherwise, you may run into `ModuleNotFoundError: No module named 'my_udf'` if you define UDFs in a file called `my_udf.py`.

## Scalar Functions

It supports to use Python scalar functions in Python Table API programs. In order to define a Python scalar function,
Expand Down