Skip to content

Connectors

Connector matrix

What SQLLoad reads and writes, by which route, and how each is tested.

Source Formats Read by
Postgres Tables, by include patterns Binary COPY into Arrow, over TLS when the connection’s sslmode asks
Postgres changes (postgres_cdc) Inserts, updates and deletes of tables, by include patterns A snapshot, then a logical replication slot (pgoutput), in whole transactions. See Postgres changes.
Snowflake Tables and views, by include patterns, and query results Parquet unloaded with COPY INTO to the user stage or an S3 stage, then read by SQLLoad, or by DuckDB, Databricks or ClickHouse from S3; a Snowflake target loads the rows inside Snowflake. See Snowflake.
Databases with an ODBC driver: SQL Server, MySQL, MariaDB, OpenEdge and others Tables and views, by include patterns, and query results The driver, as Arrow. See ODBC.
BigQuery (beta) Tables and views, by include patterns, and query results The Storage Read API, as Arrow in parallel streams; views and queries through a query job. A BigQuery target on the same connection selects the rows itself. See BigQuery.
Databricks (beta) Tables and views, by include patterns, and query results One SELECT on the SQL warehouse, its result downloaded as Arrow in parallel. See Databricks.
DuckDB Tables and views of a database file, by include patterns, and query results One SELECT on a read-only connection, streamed as Arrow. See DuckDB.
MotherDuck (beta) Tables and views of one database, by include patterns, and query results One SELECT run by a separate DuckDB 1.5 process (sqlload[motherduck]), as Arrow. See MotherDuck.
Files in S3 Parquet, CSV, JSON, NDJSON, Excel (xlsx) and XML; gzip or zstd for text formats; ZIP archives of any of them; any file name through pattern. See Files. The destination itself where it can load them exactly, otherwise SQLLoad’s reader
Files in Google Cloud Storage As for S3 As for S3. See gcs.
Files in a local folder As for S3 As for S3
Files on an SFTP server As for S3 SQLLoad’s reader, over SFTP. See Files.
Google Sheets Tabs or A1 ranges, values typed by their cells The Sheets API with a service-account key, into Arrow. See Google Sheets.
Python Dicts, Arrow data (pyarrow, polars, pandas), JSON and NDJSON bytes The sqlload package, in process
HTTP APIs JSON, through sl.http in a Python source Rust
Kafka Topics, through the separate exporter, into Snowflake, or (beta) Databricks or BigQuery Rust
Destination Write strategies How data arrives
Snowflake append, merge, delete_insert, replace Parquet staged, then COPY; or Snowpipe Streaming, or INSERT, by load_method. Files under an external stage load with COPY directly. See Snowflake.
BigQuery (beta) append, merge, delete_insert, replace Arrow streamed into a staging table, then one query job per write; Parquet in GCS queried where it lies. See BigQuery.
Databricks (beta) append, merge, delete_insert, replace COPY INTO from Parquet in S3 where it lies, or staged as Parquet in a volume. See Databricks.
ClickHouse, one self-hosted server append, merge, delete_insert, replace Arrow into a staging table, swapped in by table or partition; Parquet in S3 read with s3(). No clusters, replicated or distributed tables; ClickHouse Cloud is untested. See ClickHouse.
Postgres append, merge, delete_insert, replace Binary COPY into a temporary staging table, then one transaction per commit. See Postgres.
DuckDB append, merge, delete_insert, replace Arrow appends; Parquet files read by DuckDB with read_parquet. See DuckDB.
MotherDuck (beta) append, merge, delete_insert, replace Batches inserted by a separate DuckDB 1.5 process (sqlload[motherduck]); Parquet in S3, or in GCS with an HMAC key, read on MotherDuck’s servers. See MotherDuck.
Parquet or CSV files in S3 append, delete_insert, replace Parquet written by SQLLoad, zstd-compressed; or CSV: plain, gzip or zstd. See Files.
Parquet or CSV files in Google Cloud Storage As for S3 As for S3
Parquet or CSV files in a local folder As for S3; replace swaps the folder in one rename As for S3
From \ Into Snowflake Databricks (beta) BigQuery (beta) ClickHouse Postgres DuckDB Parquet files
Postgres Yes Yes Yes Yes Yes Yes Yes
Postgres changes (postgres_cdc) Yes Yes No No No Yes Yes, as a changelog
Snowflake Yes Yes Yes Yes Yes Yes Yes
ODBC Yes, untested Yes, tested live Yes, untested Yes, untested Yes, untested Yes Yes
BigQuery (beta) Yes, untested Yes, tested live Yes, tested live Yes, untested Yes, untested Yes Yes, untested
Databricks (beta) Yes, untested Yes, untested Yes, untested Yes, tested live Yes, tested live Yes, tested live Yes, tested live
DuckDB Yes, untested Yes, untested Yes, untested Yes, untested Yes, untested Yes Yes, untested
MotherDuck (beta) Yes, untested Yes, untested Yes, untested Yes, untested Yes, untested Yes, tested live Yes, untested
Files Yes, read by Snowflake from an external stage Yes, staged by SQLLoad in the volume Yes, read by SQLLoad and streamed Yes; Parquet in S3 read by ClickHouse Yes, read by SQLLoad Yes; Parquet read by DuckDB Read and rewritten by SQLLoad
Files on an SFTP server Yes, read by SQLLoad, tested live Yes, read by SQLLoad, tested live Yes, untested Yes, untested Yes, untested Yes Yes, untested
Google Sheets Yes Yes Yes Yes Yes Yes Yes
Python Yes Yes Yes Yes Yes Yes Yes

A MotherDuck target (beta) takes every source a DuckDB target takes. Through SQLLoad these are untested, except a files source’s Parquet in S3, which MotherDuck’s servers read themselves. merge isn’t available for files sources or files targets. Google Sheets tests load into DuckDB.

System How it’s tested
Postgres Real Postgres in containers, as a source and as a target. postgres_cdc on Postgres 15, 16 and 17, plus live loads into DuckDB, Snowflake and Databricks. See Postgres.
ClickHouse Real ClickHouse 25.3, 25.8 and 26.10 in containers, with an S3-compatible store for the files it reads itself. See ClickHouse.
DuckDB Real, in process, as a source and a target.
MotherDuck Live against a MotherDuck account on DuckDB 1.5.6, as a target and a source, and offline against a stand-in compared with DuckDB. See MotherDuck.
ODBC psqlODBC against real Postgres in containers, into DuckDB, plus a live round from SQL Server and MySQL into Databricks.
Databricks source A fake Statement Execution API, plus a live round from a real SQL warehouse into DuckDB, Parquet files, Postgres and ClickHouse. See Databricks.
BigQuery source A fake Storage Read API, plus live loads from a real project into DuckDB, Databricks and BigQuery on the same connection.
S3 A real S3-compatible store in containers; benchmarks against AWS S3.
Local files Real files in temporary folders.
SFTP OpenSSH’s SFTP server in a container, into DuckDB, plus a live round into Databricks.
Kafka Redpanda in containers. The exporter into Databricks was tested live on all three routes (Zerobus Ingest, a volume and S3), with a restart mid-run.
Google Sheets A local fake Sheets API, plus a live smoke test on a real spreadsheet.
Snowflake A local fake for protocol and failure tests, plus live tests on a real Snowflake account.
BigQuery A local fake for protocol and failure tests, plus live tests on a real BigQuery project. See BigQuery.
Databricks A local fake workspace for protocol and failure tests, plus live tests of every pathway on a real SQL warehouse. See Databricks.

The sqlload and sqlload-cli packages are released for Linux (x86_64 and aarch64, glibc 2.28 or newer), macOS 11 or newer (arm64 and x86_64) and Windows 10 or Windows Server 2019 or newer (x86_64). The sqlload package needs CPython 3.10 or newer. See Install.