DataWorks supports Python and Java APIs. This topic describes how to register a function.
Prerequisites
Procedure
- Go to the DataStudio page.
- Log on to the DataWorks console.
- In the left-side navigation pane, click Workspaces.
- In the top navigation bar, select the region in which the workspace that you want to manage resides. Find the workspace and click DataStudio in the Actions column.
- Create a workflow. For more information, see Create a workflow.
- Create a Java ARchive (JAR) or Python resource, and commit and deploy the resource. For more information, see Create a MaxCompute resource.
- Create a function.
- Click the
icon in the top toolbar.
- Commit the UDF.
- Click the
icon in the top toolbar.
- In the Commit Node dialog box, enter your comments in the Change description field.
- Click OK.
- Click the