This topic outlines the process for creating both the product logical dimension table and customer logical dimension table, using this tutorial as a guide.
Background information
Once you have developed and submitted the product logical dimension table, the next step is to develop and submit the customer logical dimension table. The development process for both tables is identical. This topic will focus on the creation of the product logical dimension table as an illustrative example.
Step 1: Create a logical dimension table
Navigate to the Dataphin home page and single click Develop on the top menu bar.
Follow the steps shown in the figure below to access the Create Logical Dimension Table dialog box.
In the Create Logical Dimension Table page, set the necessary parameters as follows:
Parameter
Description
Business Object
Select the Product business object.
Data Timeliness
The default setting is Offline T+1.
Chinese Name
Input Product Logical Dimension Table as the name.
Description
Provide a concise description of the logical dimension table, such as Product Logical Dimension Table.
Single click OK to confirm.
Step 2: Configure logical table fields
On the Table Structure configuration page, single click Import From Table.
In the Add Fields From Table dialog box, select the dataphin_tutorial.product source table and include fields such as product_name, product_category, and product_price.
NoteNote: The primary key and associated dimension foreign key fields are automatically included and need not be manually selected.
Single click Add to proceed.
On the Table Structure page, single click Save And Next.
Step 3: Configure logical table computation logic
On the computation logic configuration page, single click Source Configuration to open the Source Configuration dialog box.
Within the Source Configuration dialog box, single click Add Source Object and set the source parameters as detailed below:
Parameter
Description
Source Table Name
Choose the dataphin_tutorial.product source table.
Associated Primary Key Field
Select the product_id field.
Single click OK to confirm the selections.
Drag the selected data source fields into the computation logic column.
Single click Save And Next to continue.
Step 4: Configure logical table field constraints
On the constraint configuration page, the system defaults to a Strong Rule for the Rule Strength, which requires no additional setup.
Single click Save And Next to proceed.
Step 5: Configure ordinary logical dimension table schedule
On the Schedule & Parameter Configuration page, adhere to the system's default settings, as no additional configuration is required.
Single click Save And Submit to finalize the setup.
Step 5: Save and submit the logical table
Upon selecting Save And Submit, the system will validate the configuration of the Table Structure, Computation Logic, Schedule Dependency, and Runtime Parameter. Should any checks fail, you can examine the Check Results to identify and address configuration issues.
Once all checks are passed, single click OK And Submit to complete the submission process.