ListDIJobRunDetails - 获取数据集成同步任务运行的执行进展

更新时间:
复制 MD 格式

获取数据集成运行信息。

接口说明

需要购买 DataWorks 基础版及以上版本才能使用。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

DIJobId

integer

任务 ID。

11265

InstanceId

integer

实例的 ID。

1234

PageNumber

integer

请求的数据页数,用于翻页。

1

PageSize

integer

每页显示的条数,默认为 10 条,最大 100 条。

10

SourceDataSourceName

string

筛选的源端数据源名。

ds_name

SourceDatabaseName

string

筛选的源端数据库名。

db_name

SourceSchemaName

string

筛选的源端 schema 名。

schema_name

SourceTableName

string

筛选的源端表名。

table_name

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

请求的 ID。用于定位日志,排查问题。

691CA452-D37A-4ED0-9441

PagingInfo

object

分页信息

TotalCount

string

满足条件的数据总条数。

131

PageSize

string

每页显示的条数

10

PageNumber

string

查询分页的页码。

1

JobRunInfos

array<object>

任务运行信息。

object

单个表的任务运行信息。

SourceDatasourceName

string

源端数据源名。

ds_name

SourceDatabaseName

string

源端数据库名。

db_name

SourceSchemaName

string

源端 schema 名。

schema_name

SourceTableName

string

源表名。

table_name

DestinationDatasourceName

string

目的端数据源名。

dst_name

DestinationDatabaseName

string

目的端数据库名。

dst_db

DestinationSchemaName

string

目的端 Schema 名。

dst_schema

DestinationTableName

string

目的端表名。

dst_name

StructureMigrationStatus

string

结构同步状态。

Finished

StructureMigrationErrorMessage

string

结构同步报错信息,如不报错则为空。

create table t1 fail.

FullMigrationStatus

string

全量离线迁移状态。

Finished

FullMigrationErrorMessage

string

全量离线迁移报错信息,如不报错则为空。

sync table t1 fail.

OfflineErrorRecords

integer

全量同步总错误数。

0

OfflineTotalBytes

integer

全量同步总 Bytes 数。

100

OfflineTotalRecords

integer

全量同步总条数。

10

RealtimeMigrationStatus

string

实时同步状态。

Running

RealtimeMigrationErrorMessage

string

实时同步错误信息,如不报错则为空

sync table t1 fail.

示例

正常返回示例

JSON格式

{
  "RequestId": "691CA452-D37A-4ED0-9441",
  "PagingInfo": {
    "TotalCount": "131",
    "PageSize": "10",
    "PageNumber": "1",
    "JobRunInfos": [
      {
        "SourceDatasourceName": "ds_name",
        "SourceDatabaseName": "db_name",
        "SourceSchemaName": "schema_name",
        "SourceTableName": "table_name",
        "DestinationDatasourceName": "dst_name",
        "DestinationDatabaseName": "dst_db",
        "DestinationSchemaName": "dst_schema",
        "DestinationTableName": "dst_name",
        "StructureMigrationStatus": "Finished",
        "StructureMigrationErrorMessage": "create table t1 fail.",
        "FullMigrationStatus": "Finished",
        "FullMigrationErrorMessage": "sync table t1 fail.",
        "OfflineErrorRecords": 0,
        "OfflineTotalBytes": 100,
        "OfflineTotalRecords": 10,
        "RealtimeMigrationStatus": "Running",
        "RealtimeMigrationErrorMessage": "sync table t1 fail.\n"
      }
    ]
  }
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情