Data import¶
Choose the data shape first. Unstructured files are written to Catalog volumes; structured files and database objects are written to Catalog tables.
Import type |
Sources |
Destination |
|---|---|---|
Unstructured |
Local files or files from OSS, S3, or HDFS connectors |
Volume |
Structured file |
Local or connector-based CSV, XLS, or XLSX files |
Table |
Structured database |
Tables or collections from an enabled, available database connector |
Table |
Import unstructured files¶
Open Data Connection > Import Tasks and choose Unstructured.
Choose Connector source or Local upload.
For a connector source, choose an OSS, S3, or HDFS connector enabled for import.
Select a destination Catalog volume, or create one in the selector.
Configure processing rules.
Select source files or upload local files/a folder.
Select Create and start import.
File processing rules¶
Setting |
Behavior |
|---|---|
Schedule |
Connector imports can run once or periodically; local upload runs once |
Archive handling |
The available option ignores directory structure; preserving it is not currently available |
Deduplication |
Compare file name, MD5, or both, then skip or overwrite duplicates |
Scope |
Filter by file type and path regex; types include documents, audio, video, images, web pages, mail, CAD, and others |
Periodic connector imports select folders, not individual files. Local unstructured upload accepts up to 20 files, each no larger than the 200 MB limit displayed by the form. Select folder uploads files from a directory.
Import a structured file¶
Import a CSV, XLS, or XLSX file into one or more Catalog tables.
Choose Structured > File in Import Tasks.
Choose a connector source or local upload.
Select or upload one CSV, XLS, or XLSX file.
For the file or selected Excel sheets, choose an existing destination table or create one.
Review parsing and columns.
Select Create and start import.
Local structured upload accepts one file at a time, within the form’s 200 MB limit.
Parsing and column configuration¶
For CSV, configure the column delimiter, text delimiter, and escaping.
Choose whether to use column names, their row, and the first data row.
For Excel, select one or more sheets and configure a destination table for each.
For a new table, review name, description, column names/types, primary keys, defaults, and comments.
For an existing table, map columns by position or name and choose append or clear-then-append for the initial import.
When the destination has a primary key, choose whether conflicts fail, skip, or replace rows.
Import from a database¶
This flow imports external tables or MongoDB collections into Catalog tables. Database is selectable only when the workspace enables structured database imports and has an available connector. A disabled button means the capability is not enabled for that workspace.
Select Structured > Database.
Choose the connector, database, and schema if required.
Select a table or collection.
Select an existing destination table, or choose a destination database and create a table.
Review source/target fields and type mappings.
Select a one-time or periodic import.
For periodic import, choose incremental synchronization or full overwrite and configure the schedule.
Configure initial import and primary-key conflict handling.
Submit the import.
A new destination table does not require clearing existing data. Clear-then-append applies only to an existing table. Replacement of conflicting rows requires retaining at least one primary-key mapping.
Import tasks currently cover local uploads, OSS/S3/HDFS files, and supported external databases or collections. Web collection is used only through workflow parsing capabilities and is not provided as an independent import-task type.
Inspect and manage tasks¶
The list shows type, source, destination, run mode, status, failure reason, and times. Open the task ID for details.
Action |
Applies to |
|---|---|
Pause |
Running tasks that provide this control |
Resume |
Paused tasks |
Edit |
Paused tasks that allow editing |
Retry failed files |
Select failed files in task details and confirm retry |
Delete |
Tasks that are not running |
Periodic structured database tasks provide pause/resume; one-time structured database tasks do not. Creation confirms submission. Wait for Completed, then verify the destination table or volume in Catalog.
Troubleshoot¶
Problem |
Check |
|---|---|
Connection or authentication failure |
Review the connector and test its connection |
Missing source files, tables, or collections |
Connector, path, database, schema, and object selection |
Parsing or mapping failure |
Task error, file format, parsing settings, and target columns |
Destination write failure |
Table/volume permissions, name, and initial import rule |