Managing Dimension Tables
A dimension table corresponds to a dimension and consists of a wide range of dimension attributes. Creating, publishing, editing, and suspending a dimension table highly relates to the corresponding dimension. After a dimension is published, the system automatically creates and publishes the corresponding dimension table.
Viewing the Publish History of a Dimension Table
- On the Data Design console, choose from the left navigation bar.
- Click the Dimension Tables tab. Figure 1 Dimension Tables page
- Select a dimension table in the list and choose More > View Publish History.
- On the displayed page, you can view the publish history, version comparison information, and publish log of the dimension table.
If the publish log includes error logs, the publishing has failed. You can click Resynchronize to synchronize the table to other modules of DGC.
Previewing SQL
- On the Data Design console, choose from the left navigation bar.
- Click the Dimension Tables tab. Figure 2 Dimension Tables page
- Select a dimension table in the list and choose More > Preview SQL.
- On the displayed page, you can view or copy the SQL statement.
Synchronizing a Dimension Table
After you create or edit a dimension, you can manually synchronize the dimension table if the synchronization fails.
- During the synchronization, the system performs the synchronization based on the data table update mode on the Configuration Center > Function Configuration page. For details, see Function Configuration.
- On the Data Design console, choose from the left navigation bar.
- Click the Dimension Tables tab.
- In the dimension table list, select the dimension tables to be synchronized and click Synchronize above the list. The dialog box for synchronizing dimension tables in batches is displayed.
- If there are no changes made to the information, click Confirm.
After the synchronization, you can view the synchronization status of the dimension table in the dimension table list. Click the refresh button
above the list to refresh the status.
Associating a Dimension Table with a Quality Rule
- On the Data Design console, choose from the left navigation bar.
- Click the Dimension Tables tab.
- In the dimension table list, click the name of the dimension table you want to associate with a quality rule. Click Associate Rule. Figure 3 Associating with a quality rule
- On the displayed page, set parameters as prompt. After the configuration is completed, click OK. Figure 4 Associating a dimension table with a quality rule
Generate Anomaly Data: If this option is selected, anomaly data is stored in the specified database based on the configured parameters.
Associating a Single Field with a Quality Rule
- On the Data Design console, choose from the left navigation bar.
- Click the Dimension Tables tab.
- In the dimension table list, click the name of the dimension table you want to associate with a quality rule.
- In the table field list on the details page of the dimension table, find the field and click
to associate the field with a quality rule. Figure 5 Associating a single field with a quality rule
- After the configuration is complete, click OK. Figure 6 Adding a rule
Associating Table Fields with Quality Rules in Batches
- On the Data Design console, choose from the left navigation bar.
- Click the Dimension Tables tab.
- In the dimension table list, click the name of the dimension table you want to associate with quality rules.
- In the table field list on the details page of a dimension table, select the table fields you want to associate with quality rules and click Associate Rule. Figure 7 Associating table fields with quality rules
- On the page that is displayed, add rules and set rule parameters. Figure 8 Adding rules
- After the configuration is complete, click OK.
Deleting a Dimension Table
Dimensions to be published, already published, or to be suspended cannot be deleted.
- On the Data Design console, choose from the left navigation bar.
- Click the Dimension Tables tab.
- In the dimension table list, select the dimension tables to be deleted and click Delete above the list. The dialog box for deleting dimension tables in batches is displayed.
- If there are no changes made, click OK.
Last Article: Creating Dimensions
Next Article: Creating Fact Tables
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.