Contribute UDF
UDF function is universal
The versatility here mainly refers to: UDF functions are widely used in certain business scenarios. Such UDF functions are valuable and can be used directly by other users in the community.
If you are not sure whether the UDF function you wrote is universal, you can send an email to or directly create an ISSUE to initiate the discussion.
- User Manual of UDF
Create a folder for UDF functions under contrib/udf/src/
, and store the source code and CMAKE files here. The source code to be contributed should include: .h
, .cpp
, . Taking udf_samples as an example here, first create a new folder under the contrib/udf/src/
path and store the source code.
CMakeLists.txt
After the user’s
CMakeLists.txt
is placed here, a small amount of changes are required. Just removeinclude udf
and . The reason for the removal is that it has been declared in the CMake file at thecontrib/udf
level.
manual
The user manual must contain both Chinese and English versions and be stored under
docs/zh-CN/extending-doris/contrib/udf
anddocs/en/extending-doris/contrib/udf
respectively.
When you meet the conditions and prepare the code, you can contribute UDF to the Doris community after the document. Simply submit the request (PR) on . See the specific submission method: Pull Request (PR) (opens new window).