Import tasks¶
Choose an import method by data source and shape, then inspect task status, file results, or run records.
Choose a task¶
Task |
Page |
Description |
|---|---|---|
Find import tasks |
Lists the import tasks in the current workspace that you have read permission for. |
|
Inspect an import task |
Read the definition and current status of an import task. |
|
Understand import-task fields |
Describe task fields and their conditions in import list and detail responses. |
|
Import connector files |
Import connector files or directories into a volume, or load structured file data into a target table. |
|
Upload and import local files |
Import local files into a volume, or load structured file data into a target table. |
|
Import structured database data |
Read structured data from a table, collection, or other supporting object in a database connector and write it to the target data table. |
|
Resolve a backfill position |
Resolve the backfill start for a structured-load task. |
|
Change a paused import task |
Update a paused import task. |
|
Remove an import task |
Delete the task record without rolling back data already written to the destination. |
|
Request an import pause |
Request a pause for a running import task; success indicates acceptance. |
|
Resume a paused import |
Request resumption of a paused import task; success indicates acceptance. |
|
Inspect import file results |
List the files and processing results in an import task. |
|
Inspect import runs |
Lists the running record of an import task to confirm the status and processing scope of each execution of the task. |
|
Retry failed import files |
Request a retry for selected or all failed files; success indicates acceptance. |
Confirm where data will be imported¶
Unstructured imports: The selected data volume is the final write location. Connector-based imports specify it with
volume_id; local imports specify it with the multipartVolumeIDfield. The current request has no target-directory field: files are written to the selected data volume.Structured-file imports: Data is written to the target table in
table_config. For an existing table, providetable_id; to create a table, providedatabase_id,new_table: true, andcreate_table. A data volume is not the target location for data rows in this task type.Structured database loads: Data is written to the target table in
structured_load_config.target. The request cannot includevolume_idand has no target-directory field.
A connector file or directory source path is specified in source_config.common_file_task_config.uris. In local uploads, the path in meta describes and filters the uploaded source path; it is not a target directory in the data volume. The current creation page does not offer Keep directory structure, so compressed packages are handled in a flattened form.
Check connector file types¶
Before creating a task, you can call List files. data.files[].type in the response is the file type recognized by the connector, and data.files[].uri can be used as the source URI for connector-file imports.
The current structured file picker allows only
CSV(7),XLS(24), andXLSX(25).The current unstructured file filter offers document, audio, video, image, web page, email, CAD, and other categories. Use a
typevalue returned by the file list infile_filter_config.file_typesor the local-uploadfile_typesfield.
File types indicate only that the type can be recognized from a file name. Whether a task completes still depends on the source file, connector, and import configuration. After submitting a task, get task details, task files, or run records to confirm the actual result.
Local-upload count and size limits¶
The following are limits of the current creation page’s local file picker. They are not a general promise about server-side processing for direct API calls.
Import type |
Maximum selection per attempt |
Single-file size |
Notes |
|---|---|---|---|
Unstructured files |
Up to 20 files |
Up to 200 MiB |
You can select local files or a folder. Each file in a selected folder counts toward the 20-file limit. |
Structured files |
1 file |
Up to 200 MiB |
The current file picker allows only CSV, XLS, or XLSX. |
Configurable options for unstructured imports¶
After selecting a data volume, unstructured imports can use the following options as needed.
Page feature |
Request field |
Effect |
|---|---|---|
Connector source / local upload |
|
Determines whether files are read from a connector or uploaded from the local computer. |
One-time / scheduled import |
|
A connector source can run once or scan a directory every minute, hour, or day. Scheduled tasks can select only directories. |
File-type filter |
|
Select document, audio, video, image, web page, email, CAD, and other types. When Other is selected, files are not filtered by type. |
Path regular expression |
|
Processes only files whose source paths match the regular expression. |
Decompression strategy |
|
The current page handles compressed packages in a flattened form. |
Deduplication strategy |
|
Detects duplicate files by file name and/or MD5, then skips or overwrites them. |