On the MaxCompute Functions tab, you can view functions in the MaxCompute compute engine and the function change history. You can also add functions to workflows on the Data Analytics tab with a few clicks.

View functions

  1. Go to the DataStudio page.
    1. Log on to the DataWorks console.
    2. In the left-side navigation pane, click Workspaces.
    3. In the top navigation bar, select the region where the workspace resides. On the Workspaces page, find the workspace in which you want to create tables, and click DataStudio in the Actions column.
  2. Show MaxCompute in the left-side navigation pane and click MaxCompute Functions.
    MaxCompute functions are sorted in descending order of creation time by default. Click the Sort icon to switch the order of entries.

    On the MaxCompute Functions tab, you can view the functions that are committed or deployed on the Data Analytics tab. For more information, see Create and use a MaxCompute function.

  3. Click a function to view its details.
    The MaxCompute Functions tab displays functions in the production environment by default. To view committed but undeployed functions, click the Switch between environments icon to switch the environment.
    Note
    • For workspaces in basic mode, only the production environment is available.
    • Functions that are uploaded by using tools except DataWorks, such as the MaxCompute client and MaxCompute Studio, are not displayed on the Data Analytics tab. However, these functions are displayed on the MaxCompute Functions tab.

Delete a function

To delete a function, switch to the Data Analytics tab, right-click the name of the function in the required workflow, and then select Delete.

Add a function to the Data Analytics tab

  1. On the MaxCompute Functions tab, click a function to view its details in the lower part.
  2. Click Add to Data Analytics Tab.
    This operation allows you to synchronize functions on the MaxCompute Functions tab to a specified workflow on the Data Analytics tab.
  3. In the Create Function dialog box, set the Function Name and Location parameters.
    Note When you upload a function, you can rename the function and select a folder to modify the workflow in which the function resides. However, you cannot modify the function definition.
  4. Click OK.
    Note
    • After a function is created, you must manually save, commit, and deploy the function. The operations are the same as those performed when you create a function in a workflow. For more information, see Create and use a MaxCompute function.
    • When you commit and deploy a function, the function is also uploaded to the development and production environments of MaxCompute. In addition, the function is updated as a custom function on the MaxCompute Functions tab.
    • A function is unique in a MaxCompute project. If a function with the same name already exists in the workspace, the newly created function overrides the existing one. If the existing function resides in a different workflow, the function is overridden in the new workflow.

View the function change history

Click the required function and then click View Change History to view the creation and change records of the function.