All Products
Search
Document Center

Dataphin:X-Data Engineering

Last Updated:Sep 30, 2025

X-Data Engineering automatically generates integration tasks, data models (conceptual models, logical models, and analytical models), and code tasks based on your requirements.

Prerequisites

  • You must activate the Intelligent R&D Edition to use X-Data Engineering.

  • You have configured and enabled the X-Data Engineering assistant. For more information, see Intelligent applications.

Limits

The GaussDB (DWS) compute engine does not support intelligent applications.

After a subject area model is generated, only users who have enabled Asset Operations or and have the Catalog Design - Management permission can use the Create as Asset Topic Folder operation.

Permission description

  • Super administrators, system administrators, operations administrators, and custom global roles with the X-Data Engineering-View permission can view and use the X-Data Engineering assistant.

  • If a user does not have the Planning-Business-View permission, the user cannot use X-Data Engineering to complete conceptual modeling.

  • If a user does not have the Planning-Business-Management permission, the user cannot publish concept models.

Create a conversation

X-Data Engineering lets you create conceptual models from business descriptions and logical models from business entities.

Create a conceptual modeling conversation

  1. On the Dataphin home page, choose Super X > X-Data Engineering from the top menu bar to open the X-Data Engineering page.

  2. On the X-Data Engineering page, click the Conceptual Modeling card.

  3. In the dialog box at the bottom, enter your requirements. You can also click the image icon to upload description files.

    Supported file formats include txt, md, html, doc, docx, pdf, xls, xlsx, ppt, pptx, and csv. You can upload a maximum of 10 files at a time. Each file cannot exceed 2 MB.

  4. (Optional) X-Data Engineering provides two examples. To use one, click Use Example below it. The system then creates a conceptual model based on the information in the example.

  5. After the conceptual model is generated, you can modify the model as needed. When you are finished, click Publish Model in the Conceptual Modeling panel. The system automatically creates the corresponding objects in the current tenant.

    • Click the image icon next to a description file in the conversation message to download the file.

    • After the model is generated, click the image icon in the conversation message to regenerate the model.

    • You can provide feedback on the generated model by clicking the like or dislike icon. If you dislike the model, you can enter and submit feedback up to 512 characters in length. You can also close the feedback dialog box without entering text. In this case, the system only records your dislike.

    • Click a Business Unit, Data Domain, or business entity node to reference it in the conversation.

    • The system automatically numbers each response starting from 1. Click the image icon in a conversation message to roll back the model to the version that corresponds to that message.

  6. (Optional) After you publish the conceptual model, you can generate a logical model. For more information, see Create a logical modeling conversation.

Create a logical modeling conversation

  1. On the Dataphin home page, choose Super X > X-Data Engineering from the top menu bar to open the X-Data Engineering page.

  2. On the X-Data Engineering page, click the Logical Modeling card.

  3. Generate logical tables in the selected project for the selected business entity and its associated entities. You can also add a description for the business entity or upload documents.

    • Business Entity: Select a published business entity that does not have an existing logical table. You can select from all Business Units in the current tenant. This includes general business objects and all business activities.

    • Project: You must select a business entity before you select a project. You can select any project that is attached to the Business Unit of the selected business entity.

  4. After you send the request, the system automatically retrieves the associated entities for the selected Business Entity. Associated entities are general business objects that do not have logical tables. You can hover over the image icon next to each business entity to view its name, code, subject area, and entity type.

    You also need to confirm the source data for the logical table. The system recommends a source table for each entity. The system prioritizes tables in the project attached to the entity's Business Unit. You can delete the recommended table or add other source tables. Click Add to add multiple source tables in the Source Tables For Logical Table panel. The panel shows the source table name, its Business Unit, Data Domain, and project. You can enter a keyword to quickly search for a table name. You can also filter by Business Unit, project, and table type.

  5. After you configure the source tables for all business entities and ensure that a source is specified for each entity, click Generate Logical Table. The system generates the field list and then the calculation logic for the logical table.

    1. Field list for the logical table: The field list includes the field name, display name, data type, field category, and description. You can modify the generated field information as needed.

    2. Calculation logic for the logical table: After you have modified the field list, click Next. The system automatically generates the calculation logic for the logical table. After the logic is generated, you can enter optimization instructions in the dialog box on the left. The system then regenerates the calculation logic. You can edit and format the logic code. After you edit the code, you must validate it again. Click Start Validation. You can submit the logic only after it passes validation.

  6. (Optional) After each conversation, you can provide feedback on the response by clicking the like or dislike icon. If you dislike the response, you can enter and submit feedback up to 512 characters in length. You can also close the feedback dialog box without entering text. In this case, the system only records your dislike.

  7. Click Submit. Upon successful submission, the status of the logical table changes to Successful.

Conversation management

  • Conversation Records: Click Conversation Records in the upper right corner. In the Conversation Records dialog box, you can view the last 20 conversation records and perform the following operations.

    • Search: You can search for conversation records by title keywords.

    • Rename: Click the Rename icon after the conversation record name to rename the conversation record. The name cannot exceed 256 characters.

    • Delete: You can click the Clear icon after the search box to delete all conversation records, or click the Delete icon after a conversation record name to delete a single conversation record.

  • Create Conversation: Click Create Conversation in the upper right corner to start a new conversation.

Operations supported in modeling

Operations supported in conceptual modeling

image

Section

Description

Full screen display

Click the image icon to display the view in full screen. In full screen mode, click the image icon to switch back to the panel display.

Search and view switch

  • Search: Enter the name or code of a Business Unit, Data Domain, or business entity for a fuzzy search.

  • Create As Asset Topic Folder: After the subject area model is generated, click Create As Asset Topic Folder. In the Quickly Create Asset Topic Folder dialog box, select an Asset Type and a Creation Method.

    • Asset Type: The default type is Table. The options are the same as in Asset - Folder Management. Switching the asset type does not change the selected creation method.

    • Creation Method: You can select Create Each Business Unit As A New Topic, Use Business Units As Level-1 Folders And Create A New Topic, or Use Business Units As Level-1 Folders And Add To An Existing Topic.

      • Create Each Business Unit As A New Topic: This is the default option. Each Business Unit becomes a topic, and the Data Domains become folders within it.

      • Use Business Units As Level-1 Folders And Create A New Topic: If you select this option, you must also enter a unique topic name of up to 256 characters. The Business Units become level-1 folders. The Data Domains are created as subdirectories starting from level 2. Subdirectory names must be unique under the same parent folder.

      • Use Business Units As Level-1 Folders And Add To An Existing Topic: If you select this option, you must also select a topic from the existing asset topics for the chosen asset type. The Business Units become level-1 folders. The Data Domains are created as subdirectories starting from level 2. Subdirectory names must be unique under the same parent folder.

    After the asset topic folder is created, click Go To Edit in the success message to go to Folder Management > Folder Planning to view the details. For a new topic, its name is the Business Unit name (or the manually entered name if Business Units are used as level-1 folders), its description is the topic description, its administrator is the current user, and it is public to all users with release approval disabled.

  • Publish Model: Click Publish Model. The system automatically creates corresponding objects according to this model. If the publication fails, including complete or partial failure, all published objects are rolled back. If the publication is successful, click View to go to the Data Architecture page to view related information.

  • View switching: Click the view switch to convert the canvas view to a list view. The operations that can be performed on Business Units, Data Domains, and business entities are the same in both views. The list view includes three tabs: Business Unit, Data Domain, and Business Entity.

    • Business Unit: Displays the Name, English Name, Object Exists status, and Description. For business units that were not created in the current session, the value of Object Exists is No. Otherwise, the value is Yes.

    • Data Domain: Displays Subject Area Name/Code, Business Unit, Parent Subject Area, Object Exists, and Description. For subject areas that are not created in the current session, Object Exists is set to No. Otherwise, it is set to Yes.

    • Business Entity: Displays Business Entity Name/Code, Entity Type, Data Domain, Is, and Description. For business entities that are not created in the current conversation, the Is column displays No. Otherwise, the column displays Yes.

Operations supported on each node

Tenant, Business Unit, Data Domain, and business entity nodes support the following operations:

  • Tenant node: View details, add Business Unit.

  • Business Unit node: View details, edit, add Data Domain, delete.

  • Data Domain node: View details, edit, add subdomain, add entity, delete.

  • Business entity node: View details, edit, view entity relationships, delete.

Note

You cannot edit or delete Business Units, Data Domains, and business entities that already exist in the current tenant.

For more information about each operation, see Operations supported on tenant nodes, Operations supported on Business Unit nodes, Operations supported on Data Domain nodes, and Operations supported on business entity nodes.

Operations supported on tenant nodes

Operation

Description

View Details

Click the image icon in the tenant node and select View Details. You can view the node's Type, Name, Code, and Description. The File Type is Tenant.

Add Data Unit

Add a new Business Unit to the existing model.

Click the image icon on the tenant node and select Add Business Unit. In the Add Business Unit panel, configure the following parameters.

  • Unit Name: Supports all characters. The name can be up to 64 characters long.

  • Unit English Name: Must start with the prefix `LD_`. Supports English letters, digits, and underscores (_). The name can be up to 61 characters long.

  • Description (Optional): Supports all characters. The description can be up to 1,000 characters long.

Operations supported on Business Unit nodes

Operation

Description

View Details

Click the image icon on the data block node and select View Details to view the node's Type, Name, Code, and Description. The Node Type is Data Block.

Edit

Click the image icon on the data block node and select Edit. In the Edit Data Block pane, configure the following parameters.

  • Block Name: Enter a name of up to 64 characters.

  • English Block Name: Enter a name that starts with the LD_ prefix. The name can contain English letters, digits, and underscores (_). The maximum length is 61 characters.

  • Description (Optional): Enter a description of up to 1000 characters.

Add Subject Area

Add a subject area to the current or another data block.

Click the image icon on the data block node and select Add Subject Area. In the Add Subject Area pane, configure the following parameters.

  • Subject Area Name: Enter a name of up to 64 characters.

  • Subject Area Code: Enter a code that contains English letters, digits, and underscores (_). The maximum length is 64 characters.

  • Data Block: The current data block is selected by default. If the current model has multiple data blocks, you can select a different one. If no suitable data block is available, add a data block under the tenant node.

  • Parent Subject Area (Optional): Select another subject area within the selected data block. If you leave this field empty, the new subject area is a top-level subject area that directly belongs to the current block.

  • Description (Optional): Enter a description of up to 1000 characters.

Delete

Click the image icon on the data block node and select Delete. In the dialog box that appears, click OK.

Note

Deleting a data block also deletes all nodes within it.

Operations supported on Data Domain nodes

Operation

Description

View Details

Click the image icon in the subject area node and select View Details. You can view the Type, Name, Code, and Description of the node. The File Type is Data Domain.

Edit

Click the image icon on the Data Domain node and select Edit Domain. In the Edit Domain panel, configure the following parameters.

  • Domain Name: Supports all characters. The name can be up to 64 characters long.

  • Domain Code: Supports English letters, digits, and underscores (_). The code can be up to 64 characters long.

  • Business Unit: Defaults to the current Business Unit. If the current model has multiple Business Units, you can select another one. If no suitable Business Unit is available, you can add one under the tenant node.

  • Parent Domain (Optional): The options include all Data Domains in the current Business Unit. If you leave this empty, it becomes a level-1 Data Domain directly under the current Business Unit. If no suitable Data Domain is available, you can add one under the Business Unit node.

  • Description (Optional): Supports all characters. The description can be up to 1,000 characters long.

Add Subdomain

Add a subdomain under the current or another Data Domain.

Click the image icon on the Data Domain node and select Add Subdomain. In the Add Data Domain panel, configure the parameters. The parameters are the same as for editing a Data Domain.

Add Entity

Click the image icon on the Data Domain node and select Add Entity. In the Add Business Entity panel, configure the following parameters.

  • Entity Name: Supports all characters. The name can be up to 64 characters long.

  • Code: Supports English letters, digits, and underscores (_). The code can be up to 64 characters long.

  • Entity Type: Entity types are divided into business objects and business activities. You can select from the following types.

    • Business Object: General Object, Hierarchical Object, Enumerable Object, Virtual Object.

    • Business Activity: Business Process, Business Snapshot, Business Event.

  • Business Unit: The options include all Business Units in the current model. If no suitable Business Unit is available, you can add one under the tenant node.

  • Data Domain: The options include all Data Domains in the current Business Unit. The default is the current Data Domain. If no suitable Data Domain is available, you can add one under the Business Unit node.

  • Description (Optional): Supports all characters. The description can be up to 1,000 characters long.

  • Entity Relationship (Optional): You can configure entity relationships only when the entity type is General Object, Business Process, Business Event, or Business Snapshot. After you edit the entity relationship, you can view it in the entity relationship panel of the related entity.

    • If the entity type is General Object:

      • Inherits From Entity: You can select any other business object in the current Business Unit except for this object's child objects.

      • Associated Entities: You can select one or more business objects in the current Business Unit, except for this object's child objects.

    • If the entity type is Business Process:

      • Associated Entities: You can select one or more business objects in the current Business Unit, except for this object's child objects.

      • Preceding Business Processes: You can select one or more other business processes in the current Business Unit.

      • Process Events: You can select one or more business events in the current Business Unit.

    • If the entity type is Business Event or Business Snapshot:

      Associated Entities: You can select one or more business objects in the current Business Unit, except for this object's child objects.

Delete

Click the image icon on the Data Domain node and select Delete. In the dialog box that appears, click OK.

Note

Deleting the current Data Domain also deletes all nodes contained within it.

Operations supported on business entity nodes

Operation

Description

View Details

Click the image icon in the business entity node and select View Details to view the node's Type, Name, Code, and Description. The File Type includes Normal, Level, Enumeration, Virtual Object, Business Event, Business Process, and Business Snapshot.

Edit

Click the image icon on the business entity node and select Edit. In the Edit Business Entity panel, configure the parameters. The parameters are the same as for adding an entity.

View Entity Relationships

Click the image icon on the business entity node and select View Entity Relationships. In the Entity Relationship panel, view the Entity Relationship Diagram. If the current entity relationship does not meet your requirements, you can edit the entity relationships of the related entities.

Delete

Click the image icon on the business entity node and select Delete. In the dialog box that appears, click OK to delete the current business entity node.

Operations supported in logical modeling

  • Operations supported on the field list pageimage

    Section

    Description

    Basic information of the logical table

    The basic information includes the Chinese name, English name, status, table type, Business Unit, Data Domain, and project of the logical table. The table type is determined by the business entity type. You can modify the Chinese and English names of the logical table as needed. The prefix and suffix of the English name are generated based on the Table Naming Conventions in the R&D Specifications of the Business Unit to which the business entity belongs.

    Search, filter, and edit source tables

    • Search and filter: You can enter a field name keyword in the search box to perform a fuzzy search, or click the image icon to filter by Data Type and Field Type in the filter dialog box.

    • Edit Source Tables: Click Edit Source Tables to select one or more source tables in the source tables panel. You can enter a table name keyword to perform a fuzzy search. You can also filter by the logical table's Business Unit, project, and table type. In addition, you can click the image icon in the Actions column to view the field list of the corresponding logical table. After you modify the source tables, the system regenerates the field list for the logical table.

    Field list

    The field list includes Serial Number, Column Name, Remarks, Data Type, Field Type, and Description.

    • Column Name: It can contain English letters, digits, and underscores (_) and be up to 128 characters long.

    • Data Type: Supported data types include string, bigint, double, timestamp, decimal, Text, Numeric, Datetime Variable, and Other.

    • Field Type: Primary Key, Business Time (flow start time, flow end time, event time, snapshot time), Property, Measure, Partition.

    In the field list, you can also add, delete, and adjust the order of fields.

    • Add Field: Click Add Field to add a blank row at the end of the field list. You can then configure the field information.

    • Delete Field: Click the image icon in the Actions column of a field to delete it.

      Note

      You cannot delete a primary key field.

    • Adjust Field Order: Drag the image icon next to a field to adjust its order.

    Operations for the entire field list

    • Deprecate: Skips the creation of the current logical table and marks it as deprecated. You cannot edit a deprecated logical table. This operation cannot be undone. Proceed with caution.

    • Regenerate Field List: Click Regenerate Field List to regenerate the field list for the selected business entity.

    • Next: After you confirm the field list information, click Next to generate the related calculation logic.

  • Operations supported on the calculation logic page

    image

    Section

    Description

    Calculation logic SQL area

    Generates the logical table SQL based on the table information and source table schema you provide.

    • Regenerate: Click Regenerate. The system regenerates the calculation logic for the current logical table. If you enter modification instructions for the calculation logic in the dialog box on the left, the system also regenerates the calculation logic.

    • Start Validation: You must perform validation after modifying the field list or calculation logic, including formatting operations. If validation fails, you can view the error log and modify the corresponding SQL. You can also click Smart Modify to send the current calculation logic SQL and error message to the logical modeling conversation. The system will regenerate the calculation logic. You can submit the logic only after it passes validation.

    • Format: Use code formatting to optimize code layout and readability.

    • Parameter Examples: You can refer to simple parameter examples to edit or modify the calculation logic SQL.

    Operations for the entire calculation logic

    • Deprecate: Deprecate and skip the creation of the current logical table. You cannot edit a deprecated logical table. This operation cannot be undone. Proceed with caution.

    • Previous: Click Previous to return to the field list. If you modify the field list, the calculation logic will be regenerated.

    • Regenerate Calculation Logic: Click Regenerate Calculation Logic. The system regenerates the calculation logic for the current logical table. If you enter modification instructions for the calculation logic in the dialog box on the left, the system also regenerates the calculation logic.

    • Submit: You must complete the calculation logic validation before submitting. Click Submit to start the submission process. After a successful submission, you can view the details of the current logical table in Administration > Administration Checklist.