ADBC Scanner connects DuckDB to remote databases through their ADBC drivers. Until now, each remote table scan used one Arrow stream and one DuckDB reader, even when the driver could expose its result as several independent partitions.
This release adds automatic parallel partition reads. When the driver supports them, DuckDB can read several parts of a result at once, each through its own connection. Attach your database read-only and query it as usual. There’s no new setting to turn on.
This helps when DuckDB needs to bring remote rows into a local query, such as a join with a Parquet file on your laptop. Reading through several streams gives DuckDB more work to do while individual connections wait for data.
Which drivers can use it?
Checked against driver documentation and source on November 29, 2026.
Parallel reads supported
| Driver | What to expect |
|---|---|
| Flight SQL | Multiple readers when the server returns multiple result endpoints. |
| DataFusion | Supported since v0.26.0. Uses the plan's output partitions; plans with a shuffle default to one partition. |
| Redis | Scans of permanent, driver-managed tables, including projections and filters. |
| Kinetica | Available in v7.2.1. Divides results into pieces that separate connections can read. |
Waiting on driver support
ADBC Scanner still works with these drivers using a single stream. They don’t currently provide parallel partitions for its table scans.
Start with a read-only attachment
The SQL looks the same as before. Substitute your connection URI, driver, and table names:
ATTACH '<connection-uri>' AS remote ( TYPE adbc, driver '<driver-name-or-library>', READ_ONLY);
SELECT * FROM remote.schema_name.table_name;Outside an explicit transaction, the scanner asks the driver for partitions. If the driver doesn’t support them, it uses the usual single-stream scan. You can use the same attachment syntax in either case.
For this release, parallel reads apply to attached tables. Direct calls to adbc_scan(...) and adbc_scan_table(...) keep their existing behavior.
ADBC already has a way to divide a result
ADBC has a partitioned-results API for exactly this job. A driver can execute a query and return a set of tokens, each identifying a piece of the result. A client can then read those pieces independently.
ADBC Scanner now puts that API to work. It executes the table query once with AdbcStatementExecutePartitions, then hands the returned tokens to DuckDB’s workers. Each worker opens a connection and uses AdbcConnectionReadPartition to get its own Arrow stream. When it finishes a partition, it can pick up another.
Adding readers doesn’t mean running the SQL again. They’re reading different pieces of the same result, and each stream belongs to one reader.
Let the driver and DuckDB make the decision
We wanted this to work without adding another tuning knob. The driver already knows how many partitions it has, and DuckDB already has a scheduler and a thread budget.
The scanner discovers the partitions before DuckDB decides how many workers to schedule. That gives DuckDB the information it needs to assign readers, without a separate scan_threads option on the attachment.
If you want to control the thread budget, use DuckDB’s existing setting:
SET threads = 4;With this setting, a scan with eight partitions can have up to four readers working at once. A scan with two partitions can use at most two. DuckDB may schedule fewer depending on the rest of the query.
Each active reader uses a remote connection, so this also affects the load on your database when several scans are running. The scanner opens connections as they’re needed.
Push down first, read partitions when needed
Our previous release added whole-query pushdown. When a compatible remote database can do the join or aggregate itself, DuckDB can ask it to run the whole query and return only the answer. That remains enabled by default.
Parallel reads help with the rows that still need to come back to DuckDB. A query that joins a remote table with a local file, for example, needs DuckDB to finish the join. That remote table scan can now use partitions.
The two features work together automatically. You don’t need to set query_pushdown false to get parallel reads.
Transactions and early limits
Scans inside an explicit transaction still use one reader, as do read-write attachments. The choice happens when a query runs, so a prepared query can use serial reads inside BEGIN and parallel reads after COMMIT.
Queries that can stop reading early, such as a streaming LIMIT, also use one partition reader for now. A quick look at a few rows shouldn’t leave other readers waiting on a server after DuckDB already has its answer.
Try the release
The release is available for DuckDB 2.0.1 from the Query.Farm extension repository. In a fresh DuckDB session:
SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL adbc_scanner FROM query_farm;LOAD adbc_scanner FROM query_farm;If it’s already installed, replace the install line with FORCE INSTALL adbc_scanner FROM query_farm; before loading it. Then attach your database read-only and try your queries.
Thanks to Albert Wong for the original parallel-partition contribution, which made this release possible. For a closer look at the implementation, see the partition-scan documentation.