If you use a modeling tool to generate models and you want to use DataWorks Dimensional Modeling for subsequent modeling operations, you can use the reverse modeling feature provided by DataWorks Dimensional Modeling. The models can be dimension tables, fact tables, or aggregate tables. The reverse modeling feature allows you to import the models that are generated by using the modeling tool into a compute engine instance. The system creates models based on the imported models. This way, you do not need to manually create models in DataWorks Dimensional Modeling, and your time costs are reduced. This topic describes how to perform reverse modeling.
Prerequisites
- The tables that are generated by using a modeling tool other than DataWorks Dimensional Modeling are imported into a MaxCompute compute engine instance. The MaxCompute compute engine instance is associated with your DataWorks workspace. For more information about how to associate a compute engine instance with a workspace, see Create and manage workspaces.
- The workspace to which the imported tables belong is associated with a model design workspace. For more information, see Modeling workspace.
- A data domain is created to determine the business type. For more information, see Data domain.
- A business process is created to determine the specific business activity. For more information, see Business process.
- A business category is created to determine the logical entity that you want to analyze. For more information, see Business category.
Limits
- You can perform reverse modeling only on the tables that are imported into a MaxCompute compute engine instance in the production environment.
- You can perform reverse modeling only on the tables that belong to workspaces associated with a model design workspace. Before you can perform reverse modeling on the tables that belong to a specific workspace, you must associate the workspace with a model design workspace. For more information, see Modeling workspace.
- If a workspace has an ongoing reverse modeling task, you cannot start another reverse modeling task in the workspace until the existing task ends.
Reverse modeling process

- Configure a reverse modeling policy.
- Confirm information about the tables on which you want to perform reverse modeling based on your business requirements. The information includes workspaces to which the tables belong and the complete names of the tables.
- Specify naming conventions and data warehousing levels for the tables to be created by the system based on your business requirements. Data warehousing levels include business process, data domain, and business category.
- Specify whether to create all required tables or create only the tables that do not exist on the Dimensional Modeling page.
For more information, see Configure a reverse modeling policy.Note A reverse modeling policy cannot be modified after it is created. We recommend that you plan a policy in advance based on your business requirements. - The system generates tables.
The system generates tables based on the configured reverse modeling policy.
- Confirm the information about the tables.
The generated tables may not meet your business requirements. In this case, modify the information about the tables based on your business requirements. For example, you can change the data domain or business process of a table. For more information, see Confirm the information about tables.
- The system finalizes the tables.
After reverse modeling is complete, you can view the types and numbers of the created tables. You can also check the error messages reported for tables that fail to be created and troubleshoot issues at the earliest opportunity.Note
- The created tables are automatically published to the related MaxCompute compute engine instance. You do not need to manually publish the tables again.
- You can manage the created tables on the Dimensional Modeling page. For more information, see Publish and manage a table.
Procedure
- Go to the Dimensional Modeling page.
- Go to the Reverse Modeling page.
In the left-side navigation pane of the page that appears, click Reverse Modeling.
- Start reverse modeling.
- If this is the first time you use the reverse modeling feature, click Start Now on the Reverse Modeling page.
- If this is not the first time you use the reverse modeling feature, click Create in the upper-right corner of the Modeling Tasks page.
- Configure a reverse modeling policy.
Note A reverse modeling policy cannot be modified after it is created. We recommend that you plan a policy in advance based on your business requirements.
- Confirm the information about tables.
- View reverse modeling results.
After reverse modeling is complete, you can view the numbers of the created fact tables, dimension tables, and aggregate tables and view the details about the tables that fail to be created in the Completed step. You can click Error Logs in the Actions column of a table that fails to be created to view error information and troubleshoot issues at the earliest opportunity.Note
- The created tables are automatically published to the related MaxCompute compute engine instance. You do not need to manually publish the tables again.
- You can manage the created tables on the Dimensional Modeling page. For more information, see Publish and manage a table.
View reverse modeling tasks

Section | Description |
---|---|
1 | In this section, you can configure the following parameters to obtain the desired reverse modeling tasks: Task ID, Operator, and Operation Date. |
2 | In this section, you can view the settings of the Table Name Matching Rule parameter and the reverse modeling results.
|