Skip to content
DuckDB community extension

dryrun

Estimate Parquet scan bytes for SELECT queries without executing them

01 / SETUP

Install and load

Run these commands in a Haybarn SQL session. The extension is available from the community repository.

Haybarn 2.0.0 · SQL
INSTALL dryrun FROM community;
LOAD dryrun FROM community;

Try it in a temporary SQL session with dryrun already loaded. Queries run in this tab; examples using files or services need their own setup.

Using upstream DuckDB? Follow the maintainer’s installation instructions.

02 / QUERY

Usage example

SQL
SELECT *
FROM dryrun(
  'SELECT * FROM ''https://dryrun-data.dahl.dev/gaia-5m.parquet'''
);

Provided by aleda145. Not yet verified on Haybarn 2.0.0.

Sample data & setup

About this extension

Dryrun adds a table function for estimating Parquet scan bytes before running a query.

It parses a read-only SELECT statement, finds explicit Parquet scan sources, determines required columns, uses Parquet metadata for compressed column-chunk sizes, and applies simple row-group pruning from min/max statistics when possible.

Project overview from the community descriptor.

Documentation and resources

Project and build details
Repository
aleda145/duckdb-dryrun
License
MIT
Maintainers
aleda145
Written in
C++
Build source
0bddce4a1669
Build definition
Community descriptor