Supported DDL event detection for Scheduled Pipeline.
Supported Synchronize Source Table Structure Change for Scheduled Pipeline, enabling synchronization of changes such as new fields and data type changes.
When a scheduled pipeline task synchronizes data from application data sources, the source table structure may undergo DDL changes due to business adjustments (such as adding/deleting tables/fields). If these changes are not detected and handled promptly, synchronization errors and data inconsistencies may occur, affecting downstream business operations.
You want to detect these changes quickly and have the flexibility to manually update mappings or automatically synchronize certain DDL changes.
Source DDL change detection: If the source table or its structure changes, the task details page displays the corresponding change information.
Synchronize Source Table Structure Change: For supported source types, if Synchronize Source Table Structure Change is enabled, DDL changes are automatically synchronized during task execution, requiring no manual updates to field mappings.
The following table lists the detectable changes to source tables and source table structures and handling methods:
On the task details page, if the source table structure has changed, the prompt "The mapping of x table(s) can be updated." will be displayed. You can click Filter to list tables with updatable mappings, as shown in the following figure.
Click the icon to enter the editing page, as shown in the following figure.
If the source table structure has changed, click Update Mapping to update the source table structure, as shown in the following figure.
The Update Mapping table displays the changes in source fields. Click Update Mapping and Target Table to enter the Update Target Table dialog. For details about updating the target table, see the "Updating the Target Table" section of this document.
After you click Update Mapping, the system first updates the field mappings of the source table and highlights the conflict content in the target table in red in Field Mapping. You need to click the Update Target Table button to adjust the target table. For details about updating the target table, see the "Updating the Target Table" section of this document.
If the source field has changed, you can modify the field mapping by selecting the existing fields or manually adding fields. After you confirm the changes in the mapping relationships, the DDL statement for the target table is generated and executed.
You can create, delete, and rename fields in the target table.
You can modify the data type, length, and precision of fields in the target table.
You can configure Not Null, Primary Key, and Remark for the target table.
Change records are displayed. You can revert changes.
1. Click Update Target Table. The popup displays the actual fields of the target table in order. You can adjust the field structure, as shown in the following figure.
2. You can use the one-click apply function. The field name is used as the unique identifier (based on the Map Fields with Same Name logic) to compare the structures of the source and target tables. If any inconsistencies are detected, you can synchronize the source table structure changes to the target table with one click.
The following table describes the change records.
3. Update statements are generated based on the update content. Click Execute Update Statement, as shown in the following figure.
For certain source table structure changes, you can enable Synchronize Source Table Structure Change, which ensures automatic change synchronization during task execution without the need for manual mapping updates, as shown in the following figure.
The following table describes the change synchronization effects in various scenarios with this function enabled.
After the task runs, you can view the execution logs in Execution Record to check source table structure changes, as shown in the following figure.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy