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:
A connection to a MaxCompute project configured in MaxCompute Studio. See Manage project connections.
A MaxCompute Java module created. See Create a MaxCompute Java module.