Import logical tables from Excel
You can bulk-create logical tables and their quality rules by importing Excel files in either standard format or Visual Paradigm format. This feature also lets you quickly import previously exported files to easily migrate logical tables between workspaces. This topic describes how to import logical tables from an Excel file.
Procedure
Log on to the Data Resource Platform console.
In the upper-left corner of the page, click the
icon and select Collaboration.In the top navigation bar, click the
icon, select the target workspace, then click Asset Processing.NoteIf you are already on the Asset Processing page, skip clicking Asset Processing.
In the left navigation pane, click the
icon and select Data Model Design.Under My Models, hover over the target directory and click the
icon.From the menu that appears, choose Import > Import from Excel.
In the Import logical table from Excel dialog box, configure the file format and import type.
Select the file format.
Standard Format: Select this option to import an Excel file that contains both logical tables and quality rules.
Visual Paradigm Format: Select this option to import a logical table file exported from Visual Paradigm.
NoteIf you select Standard Format, the imported file can contain both logical tables and quality rules.
If you select Visual Paradigm Format, the imported file can contain only logical tables.
Select the import type.
Logical table: Imports logical tables based on the model directory list, directory-to-model mappings, and model list information from the Excel file.
Quality rule: Imports quality rules for logical tables using the model, field, and custom SQL rules from the Excel file.
Select how to handle duplicate content.
Replace Existing Content: Overwrites existing content with the newly imported content.
Keep Existing Content: Retains existing content and skips duplicate entries from the imported file.
Click Download Template to download a template file, then fill in the template with your logical table data or quality rules.
NoteTo migrate data models from another workspace, you can directly import an exported file instead of downloading a new template.
Upload the prepared file.
Click Click here to upload a file, or drag and drop it into the import area.
NoteWhen selecting a file, ensure you choose the correct template for logical tables or quality rules.
Click OK.
After the import is successful, refresh the page. The imported logical tables appear in the list on the right side of the model directory.
Related operations
Actions | Description |
Edit a logical table | On the logical table list page, in the Actions column for the target logical table, click Details. On the Logical Table Details page, click the Note
|
Copy a logical table | On the logical table list page, in the Actions column for the target logical table, choose More > Copy. The system automatically generates a model name. You can customize the name, select a parent directory, enter a description, then click OK. |
Delete a logical table |
Note Deleting a logical table does not delete the corresponding physical table in the database. |
Next steps
After creating logical tables, you must materialize them. For more information, see Materialize a logical table.
icon in the upper-right corner to edit the table's parent directory, retention period, description, fields, and other information.
icon in the upper-right corner of the Edit Logical Table panel to unlock it before making changes.