Import task object fields

This page describes the fields that may be returned in import task records. Querying the import task details returns one task record, Querying the import task list returns multiple task records. The same fields have the same meaning.

Only the task config_type=3 may return structured loading and its runtime fields.

Basic fields

idstring
task ID.
namestring
Task name.
config_typeinteger
Task configuration type: 1 File import, 2 database import, 3 structured loading.
source_connector_idstring
source connector ID.
source_connector_typeinteger
source connector type code.
connector_namestring
source connector name.
volume_idstring
Destination volume ID. It may be empty for a structured table import.
volume_namestring
Destination volume name.
volume_pathobject
Destination volume path in the directory tree.
volume_path.id_listarray of string
IDs of the successive path components.
volume_path.name_listarray of string
Names of the successive path components.
creatorstring
Identifier of the user who created the task.
statusinteger
Task status: 0 unknown, 1 running, 2 pausing, 3 paused, 4 completed, 5 failed.
source_configobject
Source configuration specific to the task type.
start_atinteger
Start time as a Unix timestamp.
end_atinteger
Unix timestamp of the end time.
created_atinteger
Unix timestamp of creation time.
updated_atinteger
Unix timestamp of the last updated time.
file_typesinteger (integer array)
file type filtering code.
path_regexstring
file path filtering regular; if not set, it is an empty string.
unzip_keep_structureboolean
Whether to keep the directory structure when decompressing.
dedupobject or null
deduplication configuration.
dedup.byarray of string
The basis for judging duplicate files.
dedup.strategystring
Duplicate file processing strategy.
table_pathobject
single table target path.
table_path.id_listarray of string
The ID of each level of the single table target path.
table_path.name_listarray of string
The name of each level of the single table target path.
table_pathsarray of object
Multi-table target paths; may be omitted when there is no multi-table configuration.
table_paths[].id_listarray of string
The ID of each level of each multi-table target path.
table_paths[].name_listarray of string
The name of each level of each multi-table target path.
source_filesstring (two-dimensional string array)
source file information. Each item is the connector name, followed by the file URI.
load_typeinteger
load mode code.
load_resultsarray of object
The loading results of each file or table.
load_results[].linesinteger
The number of lines corresponding to the result.
load_results[].reasonstring
The reason for the failure of the corresponding result.
total_rowsinteger
The total number of rows processed by the task.
imported_rowsinteger
The number of imported rows.
success_file_countinteger
Number of successful files.
failed_file_countinteger
Number of failed files.
latest_rowsobject
Row statistics for the latest run; may be omitted when not collected.
latest_rows.read_rowsinteger or null
The number of rows read in the most recent run.
latest_rows.succeeded_rowsinteger or null
The number of rows that were successfully run last time.
latest_rows.failed_rowsinteger or null
The number of rows that failed in the latest run.
latest_rows.skipped_rowsinteger or null
The number of rows skipped in the latest run.
latest_rows.completeboolean
Whether the statistics of the latest run are complete.
cumulative_rowsobject
cumulative row statistics; may be omitted when not collected.
cumulative_rows.read_rowsinteger or null
The cumulative number of rows read.
cumulative_rows.succeeded_rowsinteger or null
The number of cumulative successful rows.
cumulative_rows.failed_rowsinteger or null
The cumulative number of failed rows.
cumulative_rows.skipped_rowsinteger or null
The cumulative number of skipped rows.
cumulative_rows.completeboolean
whether the cumulative statistics are complete.
error_codestring
The current error code; may be empty when there is no error.
error_summarystring
The current error summary; may be empty when there are no errors.
target_path_statestring
target path status.
target_path_error_codestring
The error code of target path parsing or verification; may be omitted when there is no error.
target_path_error_summarystring
Error summary for target path parsing or verification; may be omitted when there are no errors.

Structured loading fields

structured_load_configJSON object
Complete structured load configuration.
structured_load_summaryobject
structured load summary.
structured_load_summary.source_typestring
source type.
structured_load_summary.source_objectstring
source object.
structured_load_summary.target_database_idstring
target database ID.
structured_load_summary.target_table_idstring
target table ID.
structured_load_summary.target_table_namestring
target table name.
structured_load_summary.sourceobject
Source summary.
structured_load_summary.source.connector_idstring
source connector ID.
structured_load_summary.source.connector_namestring
source connector name.
structured_load_summary.source.source_typestring
source type.
structured_load_summary.source.databasestring
source database name.
structured_load_summary.source.schemastring
source schema name; may be omitted when not applicable.
structured_load_summary.source.tablestring
source table name; may be omitted when not applicable.
structured_load_summary.source.collectionstring
source collection name; may be omitted when not applicable.
structured_load_summary.source.objectstring
source object name; may be omitted when not applicable.
structured_load_summary.targetobject
target summary.
structured_load_summary.target.modestring
target table mode.
structured_load_summary.target.database_idstring
target database ID.
structured_load_summary.target.database_namestring
target database name.
structured_load_summary.target.table_idstring
target table ID.
structured_load_summary.target.table_namestring
target table name.
structured_load_summary.mapping_countinteger
mapping number.
structured_load_summary.mappingJSON
mapping configuration.
structured_load_summary.scheduleJSON
scheduling configuration.
structured_load_summary.backfillJSON
backfill configuration.
structured_load_summary.run_modestring
run mode.
structured_load_summary.sync_strategystring
synchronization strategy.
structured_load_summary.backfill_enabledboolean
Whether to enable backfill.
structured_load_summary.backfill_phasestring
backfill phase.
structured_load_summary.backfill_progress_percentinteger
backfill progress percentage.
structured_load_summary.runtime_init_statusstring
runtime initialization status.
structured_load_summary.prioritystring
Calculation priority.
structured_load_summary.config_hashstring
configuration hash.
structured_load_summary.progressobject
loading progress; may be omitted when there is no progress.
structured_load_summary.progress.total_rowsinteger
The total number of rows in the progress.
structured_load_summary.progress.imported_rowsinteger
The number of imported rows in progress.
structured_load_summary.progress.progress_percentinteger
progress percentage.
structured_load_summary.checkpointobject
Checkpoint summary; may be omitted when there is no checkpoint.
structured_load_summary.checkpoint.source_object_hashstring
source object hash.
structured_load_summary.checkpoint.structured_config_hashstring
structured configuration hash.
structured_load_summary.checkpoint.source_schema_hashstring
source schema hash.
structured_load_summary.checkpoint.capability_profile_hashstring
source capability configuration hash.
structured_load_summary.checkpoint.order_policy_hashstring
order policy hash.
structured_load_summary.checkpoint.consistency_proof_hashstring
consistency proof hash.
structured_load_summary.checkpoint.lock_owner_run_idstring
The run ID of the checkpoint lock.
structured_load_summary.checkpoint.lock_phasestring
Checkpoint lock phase.
structured_load_summary.checkpoint.lock_expires_atinteger
Checkpoint lock expiry as a Unix timestamp.
structured_load_summary.reconcileobject
Reconciliation summary; may be omitted when no reconciliation information exists.
structured_load_summary.reconcile.idstring
Reconciliation record ID.
structured_load_summary.reconcile.run_idstring
Reconciliation run ID.
structured_load_summary.reconcile.phasestring
Reconciliation phase.
structured_load_summary.reconcile.statusstring
Reconciliation status.
structured_load_summary.reconcile.error_codestring
Reconciliation error code.
structured_load_summary.reconcile.error_messagestring
Reconciliation error message.
structured_load_summary.reconcile.created_table_idstring
ID of the table created during reconciliation.
structured_load_summary.reconcile.updated_atinteger
Update time of the reconciliation record as a Unix timestamp.
structured_load_summary.reconcile.resolved_atinteger
Resolution time of the reconciliation record as a Unix timestamp.

Structured loading of runtime fields

structured_runtimeobject
structured loading runtime information.
structured_runtime.runtime_init_statusstring
runtime initialization status.
structured_runtime.config_hashstring
configuration hash.
structured_runtime.run_statusstring
running status.
structured_runtime.checkpoint_statusstring
checkpoint status.
structured_runtime.backfillJSON
backfill runtime information.
structured_runtime.schema_snapshotJSON
source schema snapshot.
structured_runtime.mappingJSON
current mapping.
structured_runtime.progressobject
runtime progress; may be omitted when there is no progress.
structured_runtime.progress.total_rowsinteger
The total number of rows in the progress.
structured_runtime.progress.imported_rowsinteger
The number of imported rows in the progress.
structured_runtime.progress.progress_percentinteger
progress percentage.
structured_runtime.checkpointobject
runtime checkpoint.
structured_runtime.checkpoint.source_object_hashstring
source object hash.
structured_runtime.checkpoint.structured_config_hashstring
structured configuration hash.
structured_runtime.checkpoint.source_schema_hashstring
source schema hash.
structured_runtime.checkpoint.capability_profile_hashstring
source capability configuration hash.
structured_runtime.checkpoint.order_policy_hashstring
order policy hash.
structured_runtime.checkpoint.consistency_proof_hashstring
consistency proof hash.
structured_runtime.checkpoint.lock_owner_run_idstring
The run ID of the checkpoint lock.
structured_runtime.checkpoint.lock_phasestring
checkpoint lock phase.
structured_runtime.checkpoint.lock_expires_atinteger
checkpoint lock expiration time in Unix timestamp.
structured_runtime.reconcileobject
runtime reconciliation information.
structured_runtime.reconcile.idstring
reconciliation record ID.
structured_runtime.reconcile.run_idstring
reconciliation run ID.
structured_runtime.reconcile.phasestring
reconciliation phase.
structured_runtime.reconcile.statusstring
reconciliation status.
structured_runtime.reconcile.error_codestring
reconciliation error code.
structured_runtime.reconcile.error_messagestring
reconciliation error message.
structured_runtime.reconcile.created_table_idstring
The newly created table ID in the reconciliation.
structured_runtime.reconcile.updated_atinteger
Update time of the reconciliation record as a Unix timestamp.
structured_runtime.reconcile.resolved_atinteger
Resolution time of the reconciliation record as a Unix timestamp.
structured_runtime.last_runobject
Most recent run; may be omitted when no run record exists.
structured_runtime.last_run.idstring
Most recent run ID.
structured_runtime.last_run.statusinteger
Status code of the most recent run.
structured_runtime.last_run.run_statusstring
The status of the latest run.
structured_runtime.last_run.error_messagestring
The error message of the latest run.
structured_runtime.last_run.row_countinteger
The number of rows processed in the latest run.
structured_runtime.last_run.file_countinteger
The number of files processed in the last run.
structured_runtime.last_run.source_schema_hashstring
The source schema hash of the most recent run.
structured_runtime.last_run.source_object_hashstring
The source object hash of the most recent run.
structured_runtime.last_run.structured_config_hashstring
The structured configuration hash of the most recent run.
structured_runtime.last_run.trigger_idstring
trigger ID.
structured_runtime.last_run.trigger_sourcestring
trigger source.
structured_runtime.last_run.workflow_execution_idstring
workflow execution ID.
structured_runtime.last_run.mowl_task_idstring
workflow task ID.
structured_runtime.last_run.moi_case_idstring
associated case ID.
structured_runtime.last_run.current_phasestring
The current execution phase.
structured_runtime.last_run.scheduled_fire_atinteger
scheduled trigger time for Unix timestamp.
structured_runtime.last_run.started_atinteger
Unix timestamp of start time.
structured_runtime.last_run.ended_atinteger
Unix timestamp of the end time.
structured_runtime.last_run.created_atinteger
Unix timestamp of creation time.
structured_runtime.last_run.updated_atinteger
The Unix timestamp of the last updated time.
mappingJSON
structured loading mapping configuration.
scheduleJSON
structured loading schedule configuration.
backfillJSON
structured load backfill configuration.
runtime_init_statusstring
structured loading initialization status.
prioritystring
structured loading priority.
config_hashstring
configuration hash.
structured_config_hashstring
structured configuration hash.
Last updated on