View node versions
Each successful commit of a node or workflow creates a new version. You can use the Versions panel to review the commit history, check change types, compare versions, and roll back a node or workflow to a specific version. This topic uses a node to explain the version management features. The process for workflows is similar.
Go to the node editing page
-
Log on to the DataWorks console. In the target region, click in the left-side navigation pane. Select a workspace from the drop-down list and click Go to Data Development.
-
Go to the node editing page.
In the directory tree on the left side of the Data Studio page, find the target node and double-click the node name to open its editing page.
View and roll back node versions
On the node editing page, click Version in the right-side navigation pane to view the node's version history. The following table describes the main parameters.
|
Parameter |
Description |
|
Change Type |
The change type is New for the first commit and Modify for subsequent commits. |
|
Status |
|
|
Operation |
|
Compare versions
You can compare node versions from the following locations:
-
On the DataStudio page, double-click a node name to open its editing page. Compare node versions in the Version panel on the right.
-
On the deployment page, compare the version of a task to be deployed with the version in the production environment to review the changes.
The following table describes the parameters displayed in the version comparison.
|
Parameter |
Description |
|
appId |
The ID of the node's DataWorks workspace. You can go to the workspace configuration page to view the ID. |
|
createUser |
The ID of the user who created the node. |
|
createTime |
The time when the node was created. |
|
lastModifyUser |
The ID of the user who last modified the node. |
|
lastModifyTime |
The time when the node was last modified. |
|
owner |
The ID of the node owner. You can find this on the page. For more information, see Configure basic properties. |
|
startRightNow |
Specifies how periodic instances are generated. Valid values:
For more information, see Instance generation modes. |
|
taskRerunTime |
The number of times the node is automatically rerun. |
|
taskRerunInterval |
The automatic rerun interval. Unit: milliseconds. |
|
reRunAble |
Indicates whether the node can be rerun. Valid values:
|
|
startEffectDate |
The date on which scheduling becomes effective. |
|
endEffectDate |
The date on which scheduling is no longer effective. |
|
cycleType |
The scheduling cycle type. Valid values:
|
|
cronExpress |
The cron expression that defines the schedule. |
|
extConfig |
Additional configurations in JSON format. Key fields include:
|
|
resgroupId |
The ID of the selected resource group for scheduling. For more information, see Configure resource properties. |
|
isAutoParse |
Indicates whether automatic parsing is enabled. Valid values:
For more information, see Configure same-cycle scheduling dependencies. |
|
input |
The input and output configurations of the node. The fields include:
For more information, see Overview of scheduling dependency configuration. |
|
inputList |
|
|
output |
|
|
outputList |
|
|
dependentTypeList |
The node's cross-cycle dependency type. Valid values:
For more information, see Configure cross-cycle dependencies. |
|
dependentDataNode |
A list of custom node IDs for cross-cycle dependencies. This parameter takes effect only when dependentTypeList is set to 1. |
|
inputContextList |
The node context configurations. For more information, see Configure node context. |
|
outputContextList |
|
|
isStop |
Indicates whether to suspend scheduling for the node. Valid values:
|
|
tags |
Reserved for future use. |
|
tagList |
|
|
fileId |
|
|
dependentType |
For more information about time properties, see Configure time properties.