CLI Reference
playground
Create a self-contained project that loads CSV files into DuckDB, and change its data for an incremental load.
sqlload playground [NAME] [--template shop]sqlload playground --changesqlload playground writes a project into a new folder, shop by default, that loads 50
customers and 1,000 orders from CSV files into the DuckDB file shop.duckdb. It needs no database,
Docker or credentials. The Quickstart runs it end to end.
| File | What it is |
|---|---|
sqlload.toml |
The project: a filesystem connection to data/, a DuckDB target, and one files source per folder, each merging on its key. |
data/customers/customers.csv |
50 customers. |
data/orders/orders_2026-11-01.csv |
1,000 orders. |
.gitignore |
Leaves shop.duckdb out of Git. |
The folder must be new or empty; otherwise the command fails and changes nothing.
Changing the data
Section titled “Changing the data”sqlload playground --change, run in the project’s folder (or given --config), adds the next
file of changed orders to data/orders/ and prints each order it changes or adds. The next
sqlload load merges only that file. Once every change is in, --change says so and adds nothing.
To start again, delete shop.duckdb and the added files.
Options
Section titled “Options”| Option | Meaning |
|---|---|
NAME |
The new project’s folder. Default shop. |
--template <TEMPLATE> |
The project to create: shop (default). |
--change |
Add the next change to an existing playground’s data instead of creating one. Takes no NAME or --template. |