Rust-powered · Free and open source · Apache-2.0

Loads you can trust.

See every type, refusal and memory limit before any data moves, then carry on from what your warehouse already holds.

$ pip install sqlload
Read the docs View on GitHub
sqlload plan…Loads (3)  into DuckDB local                                                    sqlload load├── app postgres  into raw│   ├── customers   merge on customer_id   updated_at ≥ 2026-10-19 22:57:03+00 (max)│   └── orders      merge on order_id      updated_at ≥ 2026-11-18 09:04:03+00 (max)│       └── note  reads over 2 connections, in one snapshot└── events lake/events/  into raw    └── events      delete_insert on dt    dt ≥ 2026-11-16 (max) · 1 new of 3 files        └── route  DuckDB reads directly from lake/events/ (nothing through the loader) sqlload load…loaded  raw.app__customers         42 rows 0.1sloaded  raw.app__orders         4,007 rows 0.4sloaded  raw.events          1,000,000 rows 0.8s ✓ Completed  3 loaded, 1,004,049 rows, 1.0s├── slowest      raw.events 0.8s└── peak memory  358 MiB

Faster, in a fraction of the memory

How we measured →

S3 Parquet → Snowflake · 100M rows1

sqlload
134.4 s
ingestr
182.3 s

S3 Parquet → Snowflake · 100M rows · peak memory1

sqlload
54 MiB
ingestr
+ 5.7 GiB temp disk3,836 MiB

Postgres → Snowflake · 1M rows

sqlload
14.56 s
ingestr
16.38 s
dlt
29.36 s

1 Snowflake copies the files from S3 itself, so no rows pass through SQLLoad. ingestr streams every row through its own process.

Where loads go wrong

Hidden state drifts from reality

A stored copy of the schema or the cursor disagrees with the warehouse, and the fix is deleting state you can't see.

Types quietly change

Decimals lose digits, JSON turns into strings, a column that's all NULL never gets created, and a stray value becomes a second column.

Big tables take the server down

A large first load buffers everything in memory, and the run dies with no report.

Nothing says no

No step shows what a run will change, or stops when something's wrong.

Plan, apply, load

One sqlload.toml, three commands, and nothing kept outside your warehouse.

01 · Plan

See every change first

How every table and column will land, before anything runs. Problems come with the fix.

Reading a plan →

sqlload plan
…
Objects (2)                                                                     sqlload apply
├── raw.app__orders  create table, 7 columns
└── raw.events       create table, 8 columns

Loads (2)  into DuckDB local                                                    sqlload load
├── app postgres  into raw
│   └── orders   merge on order_id     updated_at: first run, everything
└── events ./lake/events/  into raw
    └── events   delete_insert on dt   3 new of 3 files
        └── route  DuckDB reads directly from ./lake/events/ (nothing through the loader)

Errors (1)
└── raw.app__customers
    └── reason  lifetime_value has type numeric(12,2), which cannot be read as int

✗ Plan failed  2 objects to create, 2 to load, 1 error
02 · Load

Bulk copy, not row inserts

Rows are staged as Parquet and copied in bulk. When the warehouse can read the data itself, it does, and no row passes through SQLLoad.

Load methods and routes →

sqlload plan
…
Loads (3)  into DuckDB local                                                    sqlload load
├── app postgres  into raw
│   ├── customers   merge on customer_id
│   └── orders      merge on order_id     updated_at ≥ 2026-11-02 08:04:00+00 (max)
└── events ./lake/events/  into raw
    └── events      delete_insert on dt   dt ≥ 2026-11-03 (max) · 2 new of 4 files
        └── route  DuckDB reads directly from ./lake/events/ (nothing through the loader)

sqlload load
…
loaded  raw.events             12 rows 0.0s
loaded  raw.app__customers     20 rows 0.0s
loaded  raw.app__orders         2 rows 0.0s

✓ Completed  3 loaded, 34 rows, 0.3s
├── slowest      raw.app__orders 0.0s
└── peak memory  97.8 MiB
03 · Stay stateless

The warehouse is the state

Incremental tables carry on from the destination's own maximum, and the schema is the live table. Nothing to fall out of sync.

Cursors and state →

sqlload plan app__orders
…
Loads (1)  into DuckDB local                                                    sqlload load
└── app postgres  into raw
    └── orders   merge on order_id   updated_at ≥ 2026-11-16 14:01:06+00 (max)

sqlload load app__orders
…
loaded  raw.app__orders      5 rows 0.0s

✓ Completed  1 loaded, 5 rows, 0.3s
├── slowest      raw.app__orders 0.0s
└── peak memory  85.8 MiB
04 · Keep types exact

Declare what matters

Pin a column's type and SQLLoad widens the table in place. Check your declarations against the live tables in CI.

Contracts and schema changes →

# sqlload.toml
[sources.app.tables."public.orders"]
columns = { total = "decimal(18,2)" }

sqlload plan app__orders
…
Objects (1)                                                                     sqlload apply
└── raw.app__orders  alter table
    └── widen  total decimal(12,2) -> decimal(18,2) (DECIMAL(18,2))  in place

sqlload contract diff
  OK    table:app__orders
0 contract difference(s)
05 · Write sources in Python

APIs without the plumbing

Write a source as a Python function. Pagination, retries and rate limits run in Rust.

Python sources →

import sqlload as sl

shop = sl.source("shop", connection="shop")
api = sl.http(shop)  # auth, rate_limit, max_in_flight: [connections.shop]

@shop.table(unique_key="order_id")
def orders(ctx):
    """Orders, one row per order."""
    return api.paginate("/orders", select="$.items",
                        paginator=sl.page_number("page"))

Each panel shows real sqlload output on a small orders example, cut down where marked ….

Start in a minute

Install it, then copy a folder or a Postgres table with one command. No configuration file needed.

SystemSourceTarget
Postgres✓ (incl. CDC)✓
Snowflake✓✓
BigQuery Beta✓✓
Databricks Beta✓✓
ClickHouse✓
DuckDB✓
MotherDuck Beta✓
ODBC✓ SQL Server, MySQL, OpenEdge
Files: S3, GCS, local, SFTP✓ Parquet, CSV, JSON, Excel, XML✓ Parquet, CSV
Google Sheets✓
APIs, Python✓
Kafka✓ to Snowflake, Databricks, BigQuery

Every combination, version and write strategy is in the connector matrix.

  • Linux, macOS and Windows; Python only for Python sources.
  • Free and open source, Apache-2.0.
pip install sqlload
sqlload copy \
  'postgresql://postgres:${ENV:PGPASSWORD}@localhost/shop#public.orders' \
  duckdb://shop.duckdb#raw.orders --cursor-column updated_at
…
created  raw.orders  7 columns
loaded  raw.orders  1,000 rows 0.1s

✓ Completed  1 loaded, 1,000 rows, 0.3s
├── slowest      raw.orders 0.1s
└── peak memory  80.1 MiB

Load your first table

Follow the quickstart, or read how SQLLoad compares with dlt and ingestr.