DataWorks allows you to develop functions in Python and Java. This topic describes how to create a MaxCompute 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 where your workspace resides, find the workspace, and then click Data Analytics in the Actions column.
- Create a workflow. For more information, see Create a workflow.
- Write code in an offline Java environment and compress the code to a JAR package. Then, create a JAR resource and commit the resource. For more information, see Create, reference, and download MaxCompute resources.
- Create a function.
- Click the
icon in the toolbar.
- Commit the function.
- Click the
icon in the toolbar.
- In the Commit Node dialog box, enter your comments in the Change description field.
- Click OK.
- Click the