Query Data Comparison Subtask Details
Queries the execution result and difference statistics of the specified data comparison subtask.
Request URL: /openapi/v1/comparedata/queryTaskExecInfo
Request Method: GET
Request Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| execId | String | Yes | Data comparison subtask ID. You can use the lastExecId returned by the main task. | 285324 |
Request Example
/openapi/v1/comparedata/queryTaskExecInfo?execId=285324
Response Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| success | Boolean | Whether the request succeeds. | true |
| requestId | String | Request ID. | Iv7a8AZD-jppnsNLnpjpa8NEdiqn5VST |
| data | Object | Subtask details. See below. | {...} |
data Fields
| Parameter | Type | Description | Example |
|---|---|---|---|
| id | Integer | Data comparison subtask ID. | 285324 |
| taskId | String | Data comparison main task ID. | cd-std5nms37o |
| status | String | Task status. Optional values: success, failed, starting, running, stopped. | success |
| createTime | String | Subtask creation time (UTC). | 2026-04-09 06:44:54Z |
| updateTime | String | Subtask update time (UTC). | 2026-04-09 06:45:15Z |
| onlySourceRows | Integer | Number of rows that exist only on the source side. | 0 |
| onlyTargetRows | Integer | Number of rows that exist only on the target side. | 0 |
| errorMessage | String | Error message. | "" |
| differenceRows | Integer | Number of inconsistent rows. | 0 |
| skipTableCount | String | Number of skipped tables during comparison. | "5" |
Successful Invocation Example
{
"success": true,
"requestId": "Iv7a8AZD-jppnsNLnpjpa8NEdiqn5VST",
"data": {
"id": 285324,
"createTime": "2026-04-09 06:44:54Z",
"updateTime": "2026-04-09 06:45:15Z",
"taskId": "cd-std5nms37o",
"status": "success",
"errorMessage": "",
"onlySourceRows": 0,
"onlyTargetRows": 0,
"differenceRows": 0,
"skipTableCount": "5"
}
}