Import task object fields¶
This page defines data.task in the response of Query task details and data.tasks[] in the response of Query task list. The same field has the same type and meaning in both interfaces. Fields marked “structured loading only” may only be returned if config_type is 3.
Basic fields¶
Field |
Type |
Description |
|---|---|---|
|
string |
Task ID. |
|
string |
Task name. |
|
integer |
Task configuration type: |
|
string |
Source connector ID. |
|
integer |
Source connector type code. |
|
string |
Source connector name. |
|
string |
Target volume ID. Structured data tables may be empty when imported. |
|
string |
The name of the target data volume. |
|
object |
The directory tree path of the target data volume. |
|
string[] |
The ID of each level of the path. |
|
string[] |
The names of each level of the path. |
|
string |
The user ID that created the task. |
|
integer |
Task status: |
|
object |
Type-specific source configuration. |
|
integer |
Unix timestamp of the start time. |
|
integer |
Unix timestamp of the end time. |
|
integer |
Unix timestamp of creation time. |
|
integer |
Unix timestamp of last updated time. |
|
integer[] |
File type filtering code. |
|
string |
File path filtering regular; if not set, it is an empty string. |
|
boolean |
Whether to keep the directory structure when decompressing. |
|
object or null |
Deduplication configuration. |
|
string[] |
Basis for determining duplicate files. |
|
string |
Duplicate file handling strategy. |
|
object |
Single table target path. |
|
string[] |
The ID of each level of the single table target path. |
|
string[] |
The names of each level of the single table target path. |
|
object[] |
Multi-table target path; may be omitted if there is no multi-table configuration. |
|
string[] |
The ID of each level of each multi-table target path. |
|
string[] |
The name of each level of each multi-table target path. |
|
string[][] |
Source file information. Each item is the connector name, followed by the file URI. |
|
integer |
Loading method code. |
|
object[] |
The loading results of each file or table. |
|
integer |
The number of lines corresponding to the result. |
|
string |
The failure reason of the corresponding result. |
|
integer |
The total number of rows processed by the task. |
|
integer |
The number of imported rows. |
|
integer |
Number of successful files. |
|
integer |
Number of failed files. |
|
object |
Row statistics of the latest run; may be omitted if not collected. |
|
integer or null |
Number of rows read in the most recent run. |
|
integer or null |
The number of rows in the latest successful run. |
|
integer or null |
Number of rows that failed in the most recent run. |
|
integer or null |
Number of rows skipped in the most recent run. |
|
boolean |
Whether the statistics of the latest run are complete. |
|
object |
Cumulative row statistics; may be omitted when not collected. |
|
integer or null |
The cumulative number of rows read. |
|
integer or null |
The cumulative number of successful rows. |
|
integer or null |
The cumulative number of failed rows. |
|
integer or null |
The cumulative number of skipped rows. |
|
boolean |
Whether the cumulative statistics are complete. |
|
string |
Current error code; may be empty if there is no error. |
|
string |
Current error summary; may be empty if there are no errors. |
|
string |
Target path state. |
|
string |
Error code for target path parsing or verification; may be omitted if there is no error. |
|
string |
Error summary of target path parsing or verification; may be omitted if there is no error. |
In this document, [] after a type means an array; for example, string[] is an array of strings. In field paths, [] means each item in an array.
Structured loading fields¶
The following fields may be returned only by structured load tasks.
Field |
Type |
Description |
|---|---|---|
|
JSON object |
Complete structured load configuration. |
|
object |
Structured load summary. |
|
string |
Source type. |
|
string |
The source object. |
|
string |
Target database ID. |
|
string |
Target table ID. |
|
string |
Target table name. |
|
object |
Source summary. |
|
string |
Source connector ID. |
|
string |
Source connector name. |
|
string |
Source type. |
|
string |
Source database name. |
|
string |
Source schema name; may be omitted if not applicable. |
|
string |
Source table name; may be omitted if not applicable. |
|
string |
Source collection name; may be omitted if not applicable. |
|
string |
Source object name; may be omitted if not applicable. |
|
object |
Target summary. |
|
string |
Target table mode. |
|
string |
Target database ID. |
|
string |
Target database name. |
|
string |
Target table ID. |
|
string |
Target table name. |
|
integer |
Number of mappings. |
|
JSON |
Mapping configuration. |
|
JSON |
Scheduling configuration. |
|
JSON |
Backfill configuration. |
|
string |
Run mode. |
|
string |
Synchronization strategy. |
|
boolean |
Whether to enable backfill. |
|
string |
Backfill phase. |
|
integer |
Backfill progress percentage. |
|
string |
Runtime initialization status. |
|
string |
Calculation priority. |
|
string |
Configuration hash. |
|
object |
Loading progress; may be omitted if there is no progress. |
|
integer |
The total number of rows in progress. |
|
integer |
Number of imported rows in progress. |
|
integer |
Progress percentage. |
|
object |
Checkpoint summary; may be omitted if there is no checkpoint. |
|
string |
Source object hash. |
|
string |
Structured configuration hash. |
|
string |
Source schema hash. |
|
string |
Source capability configuration hash. |
|
string |
Order policy hash. |
|
string |
Consistency proof hash. |
|
string |
The run ID of the checkpoint lock. |
|
string |
Checkpoint lock phase. |
|
integer |
The Unix timestamp of the checkpoint lock expiration time. |
|
object |
Reconciliation summary; may be omitted if there is no reconciliation information. |
|
string |
Reconciliation record ID. |
|
string |
Reconciliation run ID. |
|
string |
Reconciliation phase. |
|
string |
Reconciliation status. |
|
string |
Reconciliation error code. |
|
string |
Reconciliation error message. |
|
string |
The ID of the newly created table in the reconciliation. |
|
integer |
The Unix timestamp of the reconciliation record update time. |
|
integer |
The Unix timestamp of the time the reconciliation record was resolved. |
Structured loading runtime fields¶
The following fields are also exclusive to structured loading tasks.
Field |
Type |
Description |
|---|---|---|
|
object |
Structured loading runtime information. |
|
string |
Runtime initialization status. |
|
string |
Configuration hash. |
|
string |
Running status. |
|
string |
Checkpoint status. |
|
JSON |
Backfill runtime information. |
|
JSON |
Source schema snapshot. |
|
JSON |
The current mapping. |
|
object |
Runtime progress; may be omitted if there is no progress. |
|
integer |
The total number of rows in progress. |
|
integer |
Number of imported rows in progress. |
|
integer |
Progress percentage. |
|
object |
Runtime checkpoint. |
|
string |
Source object hash. |
|
string |
Structured configuration hash. |
|
string |
Source schema hash. |
|
string |
Source capability configuration hash. |
|
string |
Order policy hash. |
|
string |
Consistency proof hash. |
|
string |
The run ID of the checkpoint lock. |
|
string |
Checkpoint lock phase. |
|
integer |
The Unix timestamp of the checkpoint lock expiration time. |
|
object |
Runtime reconciliation information. |
|
string |
Reconciliation record ID. |
|
string |
Reconciliation run ID. |
|
string |
Reconciliation phase. |
|
string |
Reconciliation status. |
|
string |
Reconciliation error code. |
|
string |
Reconciliation error message. |
|
string |
The ID of the newly created table in the reconciliation. |
|
integer |
The Unix timestamp of the reconciliation record update time. |
|
integer |
The Unix timestamp of the time the reconciliation record was resolved. |
|
object |
The most recent run; may be omitted if there is no run record. |
|
string |
The last run ID. |
|
integer |
The status code of the last run. |
|
string |
The status of the last run. |
|
string |
The error message of the last run. |
|
integer |
The number of rows processed by the last run. |
|
integer |
The number of files processed by the last run. |
|
string |
The source schema hash of the last run. |
|
string |
The source object hash of the last run. |
|
string |
The structured configuration hash of the last run. |
|
string |
Trigger ID. |
|
string |
Trigger source. |
|
string |
Workflow execution ID. |
|
string |
Workflow task ID. |
|
string |
The associated case ID. |
|
string |
The current execution phase. |
|
integer |
The Unix timestamp of the scheduled fire time. |
|
integer |
The Unix timestamp of the start time. |
|
integer |
The Unix timestamp of the end time. |
|
integer |
Unix timestamp of creation time. |
|
integer |
The Unix timestamp of the last update time. |
|
JSON |
Structured loading of mapping configuration. |
|
JSON |
Structured loading schedule configuration. |
|
JSON |
Structured loading backfill configuration. |
|
string |
Structured loading initialization status. |
|
string |
Structured loading priority. |
|
string |
Configuration hash. |
|
string |
Structured configuration hash. |