Updated on 2025-08-25 GMT+08:00

Constraints

Python UDFs refer to custom functions written in Python. When the built-in functions provided by DataArts Fabric SQL cannot support customer business implementations, customers can refer to the development processes and usage examples in this section to write their own code logic to create Python UDFs, meeting diverse business needs.

Using Python Scalar UDF comes with the following constraints:

  • The Python version of the UDF runtime environment supports only the 3.11 series and must be lower than 3.11.9.

  • Simultaneous definition of the function body and code archive package path is not supported. One must be defined.