This topic describes how to manage the categories and visibility of MaxCompute tables in the workspaces that you manage or own on the Configuration Management page in Data Map.

Background information

The category management feature of DataWorks allows you to effectively organize and manage tables by category. Before you use this feature, make sure that the account in use has the required permissions.
  • If you use an Alibaba Cloud account to manage categories, you have the permissions by default.
  • If you manage categories as a RAM user, you must attach the AliyunDataWorksFullAccess policy to the RAM user. For more information, see the "Grant permissions to the RAM user" section of the Prepare a RAM user topic.

Go to the Configuration Management 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 your workspace resides. Find the workspace and click Data Map in the Actions column.
  4. In the top navigation bar, click Configuration Management. The Manage Categories page appears.
    You can manage table categories and visibility on the Manage Categories and Manage Workspaces pages.

Manage table categories

You can organize and manage tables by category by using the category management feature. After you configure the categories of your MaxCompute tables, you can filter tables by category. You can also add tables to your favorites on the All Data page in Data Map for quick queries. After you configure the categories of MaxCompute tables, all members of the DataWorks workspaces that reside in the current region can filter tables based on the categories.

  1. On the Manage Categories page, move the pointer over Categories and click the Create icon icon. In the field that appears, enter a category name and press the ENTER key to create a level-1 category.
    Level-1 category
  2. Move the pointer over the level-1 category and click the Create icon icon. In the field that appears, enter a category name and press the ENTER key to create a level-2 category.
    Level-2 category

    Use the same method to create more categories. DataWorks allows you to create a maximum of four levels of categories. You can click the Edit icon icon to edit a category or click the Delete icon icon to delete a category.

  3. Add tables to and remove tables from a category.
    Add Tables
    • Add tables to a category
      1. Select a category and click Add Tables in the upper-right corner.
      2. In the Add Tables dialog box, specify a table type and a project, enter a table name or keyword, and then click the Search icon icon to search for tables.Search icon
      3. If you want to add a table to the category, find the table and click Add in the Actions column.

        If you want to add multiple tables at a time, select the tables and click Batch add.

    • Remove tables from a category
      1. Select a category. If you want to remove a table from the category, find the table and click Remove in the Actions column.

        If you want to remove multiple tables at a time, select the tables and click Remove from Category.

      2. In the Move out category message, click OK. Remove from Category

Manage table visibility

On the Manage Workspaces page, you can specify whether a MaxCompute table can be previewed on the Data Preview tab of the table details page.

  1. In the left-side navigation pane, click Manage Workspaces.
  2. In the Workspaces Owned/Managed by Me section, click the workspace for which you want to manage table visibility.
  3. In the Manage MaxCompute Tables section, turn on or off the switch in the Preview Tables in Development Environment or Preview Tables in Production Environment column.
    Preview
  4. If you turn on the switch in the Preview Tables in Production Environment column, the Attention message appears. To turn on the switch, you must click I already know that I am sure to open it.
    Note
    • If the workspace is in basic mode, you can turn on or off only the switch in the Preview Tables in Production Environment column.
    • After the switch in the Preview Tables in Production Environment column is turned on, all members of the workspace can preview MaxCompute tables in the production environment of the workspace without requesting permissions. This may cause the leak of sensitive data. Therefore, exercise caution before you turn on the switch.