All Products
Search
Document Center

DataWorks:Naming dictionary

Last Updated:Oct 11, 2023

A naming dictionary can be used to manage the roots and morphemes of business terms, physical tables, and fields and the standardized translation of the roots and morphemes. Data Modeling Data Standard allows you to create naming dictionaries and export existing naming dictionaries. This topic describes how to perform the preceding operations.

Create a single naming dictionary

To create a single naming dictionary, perform the following steps:

  1. Go to the Data Standard tab.

    1. Go to the DataStudio page.

      Log on to the DataWorks console. In the left-side navigation pane, choose Data Modeling and Development > DataStudio. On the page that appears, select the desired workspace from the drop-down list and click Go to DataStudio.

  2. In the top navigation bar of the Data Modeling page, click more and select Data Standard. In the left-side navigation pane of the Data Standard tab, click Naming Dictionary to go to the Naming Dictionary page.

  3. Create a naming dictionary.

    1. On the Naming Dictionary page, click Create.

    2. In the Create Naming Dictionary dialog box, configure the parameters shown in the following figure.

      image.png
    3. Click OK. The naming dictionary is created.

      On the Naming Dictionary page, you can view the naming dictionary that you created.

Create multiple naming dictionaries at a time

If you want to create multiple naming dictionaries at a time, you can download the import template provided by Data Modeling, configure the required information about the naming dictionaries that you want to create in the import template, and then import the template to Data Modeling.

  1. Go to the Naming Dictionary page by following the instructions provided in the preceding section and click Import.

  2. Select an import object type and download an import template.

    In the Confirm Import Type step of the Create Import Task page, select an import object type, download the required import template, and then configure information in the import template based on your business requirements.

    Note

    After you select the required import object type, you can preview the fields in the import template and prepare the related configuration information.

    导入命名词典
  3. Import the naming dictionary information and check the information.

    In the Data Import step, upload the import template and preview the information in the import template. You can select Preview Only Objects with Same Name to preview only fields that are named the same as the existing fields in Data Modeling. You can also modify or delete the fields in the import template.

    Note
    • Import Mode: This parameter determines how to process the objects that are named the same as existing objects in Data Modeling during the import process. If you select Skip, the system skips the objects. If you select Overwrite, the system overwrites the existing objects with the new objects.

    • You can use the import feature to import a file only in the .xlsx format. The file can contain a maximum of 30,000 rows and cannot exceed 10 MB in size.

    确定导入对象
  4. View the import results.

    In the OK step, view the import results. In the Details of Import Results section, find a naming dictionary that is imported and click View More Details in the Actions column to go to the basic information page of the naming dictionary. Then, you can perform more operations on the naming dictionary based on your business requirements. If Failed is displayed in the Status column of a naming dictionary, move the pointer over Error Logs in the Actions column to view the error message, and import the naming dictionary again.查看导入结果

Export naming dictionaries

On the Naming Dictionary page, you can select the naming dictionaries that you want to export and click Batch Export in the lower part of the page to export the selected naming dictionaries. You can also directly click Export All in the upper part of the page to export all naming dictionaries that are created in the workspace.导出

What to do next

After the naming dictionaries are created, you can use them when you configure a checker at a data layer. For more information about how to configure a checker, see Configure and use a checker at a data layer.