Skip to main content

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

ParameterTypeRequiredDescriptionExample
execIdStringYesData comparison subtask ID. You can use the lastExecId returned by the main task.285324

Request Example

/openapi/v1/comparedata/queryTaskExecInfo?execId=285324

Response Parameters

ParameterTypeDescriptionExample
successBooleanWhether the request succeeds.true
requestIdStringRequest ID.Iv7a8AZD-jppnsNLnpjpa8NEdiqn5VST
dataObjectSubtask details. See below.{...}

data Fields

ParameterTypeDescriptionExample
idIntegerData comparison subtask ID.285324
taskIdStringData comparison main task ID.cd-std5nms37o
statusStringTask status. Optional values: success, failed, starting, running, stopped.success
createTimeStringSubtask creation time (UTC).2026-04-09 06:44:54Z
updateTimeStringSubtask update time (UTC).2026-04-09 06:45:15Z
onlySourceRowsIntegerNumber of rows that exist only on the source side.0
onlyTargetRowsIntegerNumber of rows that exist only on the target side.0
errorMessageStringError message.""
differenceRowsIntegerNumber of inconsistent rows.0
skipTableCountStringNumber 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"
}
}