导入任务返回字段¶
本页说明导入任务记录中可能返回的字段。查看导入任务详情返回一个任务记录,查看导入任务列表返回多个任务记录;相同字段的含义一致。
“结构化载入字段”和“结构化载入运行时字段”仅在 config_type 为 3 的任务中可能返回。
基础字段¶
idstring- 任务 ID。
namestring- 任务名称。
config_typeinteger- 任务配置类型:1 文件导入、2 数据库导入、3 结构化载入。
source_connector_idstring- 来源连接器 ID。
source_connector_typeinteger- 来源连接器类型代码。
connector_namestring- 来源连接器名称。
volume_idstring- 目标数据卷 ID。结构化数据表导入时可能为空。
volume_namestring- 目标数据卷名称。
volume_pathobject- 目标数据卷的目录树路径。
volume_path.id_liststring(字符串数组)- 路径各层级的 ID。
volume_path.name_liststring(字符串数组)- 路径各层级的名称。
creatorstring- 创建任务的用户标识。
statusinteger- 任务状态:0 未知、1 进行中、2 暂停中、3 已暂停、4 已完成、5 已失败。
source_configobject- 类型专属的来源配置。
start_atinteger- 开始时间的 Unix 时间戳。
end_atinteger- 结束时间的 Unix 时间戳。
created_atinteger- 创建时间的 Unix 时间戳。
updated_atinteger- 最后更新时间的 Unix 时间戳。
file_typesinteger(整数数组)- 文件类型筛选代码。
path_regexstring- 文件路径筛选正则;未设置时为空字符串。
unzip_keep_structureboolean- 解压时是否保留目录结构。
dedupobject 或 null- 去重配置。
dedup.bystring(字符串数组)- 判断重复文件的依据。
dedup.strategystring- 重复文件处理策略。
table_pathobject- 单表目标路径。
table_path.id_liststring(字符串数组)- 单表目标路径各层级的 ID。
table_path.name_liststring(字符串数组)- 单表目标路径各层级的名称。
table_pathsobject(对象数组)- 多表目标路径;没有多表配置时可能省略。
table_paths[].id_liststring(字符串数组)- 每个多表目标路径各层级的 ID。
table_paths[].name_liststring(字符串数组)- 每个多表目标路径各层级的名称。
source_filesstring(二维字符串数组)- 来源文件信息。每项依次为连接器名称和文件 URI。
load_typeinteger- 载入方式代码。
load_resultsobject(对象数组)- 各文件或表的载入结果。
load_results[].linesinteger- 对应结果的行数。
load_results[].reasonstring- 对应结果的失败原因。
total_rowsinteger- 任务处理的总行数。
imported_rowsinteger- 已导入的行数。
success_file_countinteger- 成功文件数。
failed_file_countinteger- 失败文件数。
latest_rowsobject- 最近一次运行的行统计;未采集时可能省略。
latest_rows.read_rowsinteger 或 null- 最近一次运行读取的行数。
latest_rows.succeeded_rowsinteger 或 null- 最近一次运行成功的行数。
latest_rows.failed_rowsinteger 或 null- 最近一次运行失败的行数。
latest_rows.skipped_rowsinteger 或 null- 最近一次运行跳过的行数。
latest_rows.completeboolean- 最近一次运行的统计是否完整。
cumulative_rowsobject- 累计行统计;未采集时可能省略。
cumulative_rows.read_rowsinteger 或 null- 累计读取的行数。
cumulative_rows.succeeded_rowsinteger 或 null- 累计成功的行数。
cumulative_rows.failed_rowsinteger 或 null- 累计失败的行数。
cumulative_rows.skipped_rowsinteger 或 null- 累计跳过的行数。
cumulative_rows.completeboolean- 累计统计是否完整。
error_codestring- 当前错误代码;无错误时可能为空。
error_summarystring- 当前错误摘要;无错误时可能为空。
target_path_statestring- 目标路径状态。
target_path_error_codestring- 目标路径解析或校验的错误代码;没有错误时可能省略。
target_path_error_summarystring- 目标路径解析或校验的错误摘要;没有错误时可能省略。
结构化载入字段¶
structured_load_configJSON object- 完整的结构化载入配置。
structured_load_summaryobject- 结构化载入摘要。
structured_load_summary.source_typestring- 来源类型。
structured_load_summary.source_objectstring- 来源对象。
structured_load_summary.target_database_idstring- 目标数据库 ID。
structured_load_summary.target_table_idstring- 目标表 ID。
structured_load_summary.target_table_namestring- 目标表名称。
structured_load_summary.sourceobject- 来源摘要。
structured_load_summary.source.connector_idstring- 来源连接器 ID。
structured_load_summary.source.connector_namestring- 来源连接器名称。
structured_load_summary.source.source_typestring- 来源类型。
structured_load_summary.source.databasestring- 来源数据库名称。
structured_load_summary.source.schemastring- 来源模式名称;不适用时可能省略。
structured_load_summary.source.tablestring- 来源表名称;不适用时可能省略。
structured_load_summary.source.collectionstring- 来源集合名称;不适用时可能省略。
structured_load_summary.source.objectstring- 来源对象名称;不适用时可能省略。
structured_load_summary.targetobject- 目标摘要。
structured_load_summary.target.modestring- 目标表模式。
structured_load_summary.target.database_idstring- 目标数据库 ID。
structured_load_summary.target.database_namestring- 目标数据库名称。
structured_load_summary.target.table_idstring- 目标表 ID。
structured_load_summary.target.table_namestring- 目标表名称。
structured_load_summary.mapping_countinteger- 映射数量。
structured_load_summary.mappingJSON- 映射配置。
structured_load_summary.scheduleJSON- 调度配置。
structured_load_summary.backfillJSON- 回填配置。
structured_load_summary.run_modestring- 运行模式。
structured_load_summary.sync_strategystring- 同步策略。
structured_load_summary.backfill_enabledboolean- 是否启用回填。
structured_load_summary.backfill_phasestring- 回填阶段。
structured_load_summary.backfill_progress_percentinteger- 回填进度百分比。
structured_load_summary.runtime_init_statusstring- 运行时初始化状态。
structured_load_summary.prioritystring- 计算优先级。
structured_load_summary.config_hashstring- 配置哈希。
structured_load_summary.progressobject- 载入进度;没有进度时可能省略。
structured_load_summary.progress.total_rowsinteger- 进度中的总行数。
structured_load_summary.progress.imported_rowsinteger- 进度中的已导入行数。
structured_load_summary.progress.progress_percentinteger- 进度百分比。
structured_load_summary.checkpointobject- 检查点摘要;没有检查点时可能省略。
structured_load_summary.checkpoint.source_object_hashstring- 来源对象哈希。
structured_load_summary.checkpoint.structured_config_hashstring- 结构化配置哈希。
structured_load_summary.checkpoint.source_schema_hashstring- 来源模式哈希。
structured_load_summary.checkpoint.capability_profile_hashstring- 来源能力配置哈希。
structured_load_summary.checkpoint.order_policy_hashstring- 排序策略哈希。
structured_load_summary.checkpoint.consistency_proof_hashstring- 一致性证明哈希。
structured_load_summary.checkpoint.lock_owner_run_idstring- 检查点锁的运行 ID。
structured_load_summary.checkpoint.lock_phasestring- 检查点锁阶段。
structured_load_summary.checkpoint.lock_expires_atinteger- 检查点锁到期时间的 Unix 时间戳。
structured_load_summary.reconcileobject- 对账摘要;没有对账信息时可能省略。
structured_load_summary.reconcile.idstring- 对账记录 ID。
structured_load_summary.reconcile.run_idstring- 对账运行 ID。
structured_load_summary.reconcile.phasestring- 对账阶段。
structured_load_summary.reconcile.statusstring- 对账状态。
structured_load_summary.reconcile.error_codestring- 对账错误代码。
structured_load_summary.reconcile.error_messagestring- 对账错误信息。
structured_load_summary.reconcile.created_table_idstring- 对账中新建的表 ID。
structured_load_summary.reconcile.updated_atinteger- 对账记录更新时间的 Unix 时间戳。
structured_load_summary.reconcile.resolved_atinteger- 对账记录解决时间的 Unix 时间戳。
以上字段仅结构化载入任务可能返回。
结构化载入运行时字段¶
structured_runtimeobject- 结构化载入运行时信息。
structured_runtime.runtime_init_statusstring- 运行时初始化状态。
structured_runtime.config_hashstring- 配置哈希。
structured_runtime.run_statusstring- 运行状态。
structured_runtime.checkpoint_statusstring- 检查点状态。
structured_runtime.backfillJSON- 回填运行时信息。
structured_runtime.schema_snapshotJSON- 来源模式快照。
structured_runtime.mappingJSON- 当前映射。
structured_runtime.progressobject- 运行时进度;没有进度时可能省略。
structured_runtime.progress.total_rowsinteger- 进度中的总行数。
structured_runtime.progress.imported_rowsinteger- 进度中的已导入行数。
structured_runtime.progress.progress_percentinteger- 进度百分比。
structured_runtime.checkpointobject- 运行时检查点。
structured_runtime.checkpoint.source_object_hashstring- 来源对象哈希。
structured_runtime.checkpoint.structured_config_hashstring- 结构化配置哈希。
structured_runtime.checkpoint.source_schema_hashstring- 来源模式哈希。
structured_runtime.checkpoint.capability_profile_hashstring- 来源能力配置哈希。
structured_runtime.checkpoint.order_policy_hashstring- 排序策略哈希。
structured_runtime.checkpoint.consistency_proof_hashstring- 一致性证明哈希。
structured_runtime.checkpoint.lock_owner_run_idstring- 检查点锁的运行 ID。
structured_runtime.checkpoint.lock_phasestring- 检查点锁阶段。
structured_runtime.checkpoint.lock_expires_atinteger- 检查点锁到期时间的 Unix 时间戳。
structured_runtime.reconcileobject- 运行时对账信息。
structured_runtime.reconcile.idstring- 对账记录 ID。
structured_runtime.reconcile.run_idstring- 对账运行 ID。
structured_runtime.reconcile.phasestring- 对账阶段。
structured_runtime.reconcile.statusstring- 对账状态。
structured_runtime.reconcile.error_codestring- 对账错误代码。
structured_runtime.reconcile.error_messagestring- 对账错误信息。
structured_runtime.reconcile.created_table_idstring- 对账中新建的表 ID。
structured_runtime.reconcile.updated_atinteger- 对账记录更新时间的 Unix 时间戳。
structured_runtime.reconcile.resolved_atinteger- 对账记录解决时间的 Unix 时间戳。
structured_runtime.last_runobject- 最近一次运行;没有运行记录时可能省略。
structured_runtime.last_run.idstring- 最近一次运行 ID。
structured_runtime.last_run.statusinteger- 最近一次运行的状态代码。
structured_runtime.last_run.run_statusstring- 最近一次运行的状态。
structured_runtime.last_run.error_messagestring- 最近一次运行的错误信息。
structured_runtime.last_run.row_countinteger- 最近一次运行处理的行数。
structured_runtime.last_run.file_countinteger- 最近一次运行处理的文件数。
structured_runtime.last_run.source_schema_hashstring- 最近一次运行的来源模式哈希。
structured_runtime.last_run.source_object_hashstring- 最近一次运行的来源对象哈希。
structured_runtime.last_run.structured_config_hashstring- 最近一次运行的结构化配置哈希。
structured_runtime.last_run.trigger_idstring- 触发器 ID。
structured_runtime.last_run.trigger_sourcestring- 触发来源。
structured_runtime.last_run.workflow_execution_idstring- 工作流执行 ID。
structured_runtime.last_run.mowl_task_idstring- 工作流任务 ID。
structured_runtime.last_run.moi_case_idstring- 关联案例 ID。
structured_runtime.last_run.current_phasestring- 当前执行阶段。
structured_runtime.last_run.scheduled_fire_atinteger- 计划触发时间的 Unix 时间戳。
structured_runtime.last_run.started_atinteger- 开始时间的 Unix 时间戳。
structured_runtime.last_run.ended_atinteger- 结束时间的 Unix 时间戳。
structured_runtime.last_run.created_atinteger- 创建时间的 Unix 时间戳。
structured_runtime.last_run.updated_atinteger- 最后更新时间的 Unix 时间戳。
mappingJSON- 结构化载入映射配置。
scheduleJSON- 结构化载入调度配置。
backfillJSON- 结构化载入回填配置。
runtime_init_statusstring- 结构化载入初始化状态。
prioritystring- 结构化载入优先级。
config_hashstring- 配置哈希。
structured_config_hashstring- 结构化配置哈希。
以上字段也是结构化载入任务专属字段。
最后更新于