export_source
Export any source, cleaned or original, to disk as parquet, CSV, JSON, or NDJSON using DuckDB COPY. Output to a chosen directory or file path, and receive row/column counts and file size.
Instructions
Write a source (cleaned or original) to disk via DuckDB COPY.
`format`: `parquet` (default), `csv`, `json` (array), `ndjson` (one obj
per line). `path` may be a directory (auto-named) or a full file path.
Returns path, row/col counts, and file size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | No | parquet | |
| overwrite | No | ||
| source_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||