Export tasks¶
An export task writes files or processing results from a data volume to the target connector. Successful creation of the task means it has been accepted. Confirm actual results with task and file status.
Select task¶
Task |
interface |
Description |
|---|---|---|
Query export task list |
Lists export tasks that can be read in the current workspace. |
|
Query export task details |
View the export task, its target configuration and file statistics. |
|
Submit files or export processing results |
Submit the file or export the processing results. A successful response indicates that the task has been accepted. |
|
Remove export task records |
Delete task and file records, and do not roll back data written to the target. |
|
Determine export location and configuration |
Describe the write location and configuration fields corresponding to the target type. |
|
Check target table name |
Checks the database in the OmniFabric connector to see if a table with the specified name already exists. |
|
Match source and target columns |
Generates target column suggestions for the OmniFabric target table that the source column can write to. |
|
Query export task file list |
Lists the files in the export task and the processing status of each file. |
|
Query export task status |
Read a summary of the file processing status of the export task. |
|
Process the export file again |
Reprocess the specified file or all failed files. A successful response indicates that it has been accepted. |
Create and confirm export tasks¶
Select a target connector that supports exporting. Fill in the path and compression method of the object storage target. The OmniFabric target fills in the database, table, and column mappings.
Use Create Export Task to submit complete information for at least one file and record the returned task ID.
Use Query export task status to confirm that the number of waiting and running files is 0.
When the number of failures is greater than 0, use Query Export Task File List to locate the failed items. If you need to try again, Rerun the export task.
target configuration¶
When exporting to OmniFabric, use Verify export target table name to check whether the table exists, and generate export target table column mapping.
When exporting to object storage, the target path and compression method belong to the export configuration, and the bucket and credentials belong to the connector configuration.
You can also use the Dify knowledge base target when calling the API directly. For optional targets and configuration objects, see Configuration Export Target.