All Products
Search
Document Center

MaxCompute:Develop a UDF

Last Updated:Mar 26, 2026

When MaxCompute's built-in functions don't cover your business logic, write a user-defined function (UDF) in Java using MaxCompute Studio. This topic walks you through creating a Java UDF class, running it locally, and validating it with unit tests.

Prerequisites

Before you begin, ensure that you have: