Haybarn is a friendly, independent rebuild of DuckDB — branded, signed, and shipped on its own cadence by Query Farm LLC. Think of it as the local barn down the road from the duck pond: same grain, different roof.
We rebuild DuckDB from source into our own signed binaries and pair them with a self-contained, signed extension ecosystem. Haybarn stays ABI-compatible with upstream DuckDB so forward-porting is cheap and your existing code keeps working.
"Haybarn, powered by DuckDB."
Because barns are where you keep what the fields produce — sturdy, dependable, full of useful things stacked neatly out of the rain. That's how we want our distribution to feel.
| Repo | What it is |
|---|---|
haybarn |
Core fork of DuckDB. The haybarn CLI and libhaybarn. |
haybarn-python |
Python bindings — import haybarn (or import haybarn as duckdb). |
haybarn-iceberg |
Apache Iceberg extension, rebuilt for Haybarn. |
haybarn-ducklake |
DuckLake extension, rebuilt for Haybarn. |
Extensions install just like upstream:
INSTALL iceberg;
LOAD iceberg;…they're served from haybarn-extensions.query.farm and signed with the Haybarn extension key.
Each row is a Haybarn repo. Each version column shows the CI for builds against that DuckDB base. We straddle versions during a rebase, so expect more than one column to be live at any given time.
| Repo | Latest release | DuckDB v1.5.2 (current) | DuckDB v1.5.3 (next) |
|---|---|---|---|
haybarn |
|||
haybarn-python |
|||
haybarn-iceberg |
|||
haybarn-ducklake |
Badges are live — click through for the latest run. A grey "pending" cell means we haven't started the rebase onto that base version yet.
- Hard fork, small patch stack. One commit, one concern — easy to rebase onto each new DuckDB release.
- Rename the artifacts, not the API.
haybarnCLI,libhaybarn.*, but theduckdb::C++ namespace, headers, and CMake package name are unchanged. ABI-compatible by design. - Sign everything. Binaries via GPG + cosign. Extensions verified against a single Haybarn RSA key — DuckDB-signed extensions won't load.
- Build-fork extensions, don't rebrand them.
INSTALL icebergstill installsiceberg. The Haybarn-ness is built-against-Haybarn + signed-by-Haybarn, not a new name.
Pick your barn door:
- 🦆 CLI — grab a release from
haybarnreleases. - 🐍 Python —
pip install haybarn(coming soon to PyPI), thenimport haybarn as duckdb. - 🧊 Extensions — install in-engine; they fetch from
haybarn-extensions.query.farm.
Haybarn is an independent project. It is not endorsed by, affiliated with, or sponsored by the DuckDB Foundation. We build on the upstream MIT-licensed DuckDB source and document our modifications in each repo's NOTICE and patch stack.
DuckDB is a trademark of the DuckDB Foundation.
For DuckDB trademark questions, the Foundation can be reached at quack@duckdb.org. For Haybarn, write to us at hello@query.farm.
Haybarn inherits DuckDB's MIT license. See each repo's LICENSE and NOTICE.
hello@query.farm
