DuckDB
21 posts from the Query.Farm blog tagged DuckDB.
Ask your coding agent to bring the API into DuckDB.
A coding agent can build and test a VGI worker that joins GitHub releases to local project data. APIs, data services, files, and libraries can become part of your next query.
Lindel for DuckDB 2.0: curve keys that sort like your data
Our Hilbert and Morton extension now keeps negative numbers, floats and dates in order, quantizes lat/lon onto a grid, and decomposes box queries into key ranges. Sorting 20 million points by a Hilbert key cut a Parquet box query from 200 row groups to 2. Joining on the key ranges never helped inside DuckDB.
DuckDB 1.5 and 2.0 extension availability
Comparing DuckDB 1.5.5 with 2.0.0 finds 84 extension names missing from 2.0.0 and 70.2% retention. See the full missing list and 50 names available only on 2.0.0 across the releases checked.
Improving DuckDB After 2.0 — November 5, 2026 Update
Query Farm's contributions to DuckDB from October 21 to November 5, 2026, including merged fixes, open proposals, and issue reports.
Haybarn 2.0: DuckDB 2.0 with a much faster start in the browser
Haybarn 2.0 moves our DuckDB distribution to DuckDB 2.0.0, with HTTP/2 for remote reads, a long list of fixes, and a Wasm build that starts much faster.
Why we passed on more filters for DuckDB’s bitfilters
We evaluated BuRR, Taffy, Grafite, Diva++, and partitioned Binary Fuse for DuckDB’s bitfilters extension. See the memory, speed, and correctness tradeoffs.
RapidFuzz for DuckDB 2.0: best-match extraction and Unicode-aware scores
RapidFuzz for DuckDB 2.0 picks the best match from a list in one call, scores non-ASCII text by character, adds Levenshtein and edit alignments, and runs column-against-constant comparisons two to four times faster.
DataSketches for DuckDB 2.0: sketch aggregates now stay within the memory limit and spill to disk
A grouped KLL query used 39 GB under a 1 GB memory limit. Now it uses 0.77 GB and runs 3.7× faster. Here's how we moved 15 sketch families into DuckDB's spillable memory, and the library bugs we fixed along the way.
Hashfuncs for DuckDB 2.0: row hashing, cross-system compatibility, and Iceberg buckets
Hashfuncs now hashes whole rows, matches Spark and BigQuery fingerprints, reproduces Kafka and Iceberg buckets, and adds Jump consistent hashing for growing shard counts.
Stochastic for DuckDB 2.0: fit, compare and test distributions in SQL
The Stochastic extension for DuckDB 2.0 fits 22 distributions, ranks candidate fits by AICc with dist_fits, and adds hypothesis tests and 14 new distributions, all fuzzed until every function returns an answer or a clear error. We follow a support team answering a question about repair times in SQL.
DuckDB 2.0: Upgrade Now or Wait for 2.0.1?
Updated through November 2: DuckDB 2.0 issue intake is easing while contributors remain active. We compare 46 repositories with the 1.4 and 1.5 releases.
DuckDB 2.0 and the Query Farm extension repository
Query Farm now distributes its DuckDB 2.0 extensions through its own repository. Here's how to install them and why we're changing how we deliver releases.
DuckDB-Wasm startup: from 6.8 to 2.3 seconds with Haybarn-Wasm
Haybarn-Wasm, a drop-in fork of DuckDB-Wasm, loads five extensions in 1.9 seconds, against 5.4 for upstream. Here's where the startup time went and how we cut it.
ADBC in the browser: use your existing drivers
Use native ADBC drivers from WebAssembly with Grainlift. Connect PostgreSQL to Haybarn or Cupola in the browser while keeping drivers and credentials on the server.
Your Cloudflare data, in DuckDB
Query Cloudflare's Durable Objects, D1, and Analytics Engine from your browser, the Haybarn/DuckDB command line, or Python through Grainlift and ADBC.
Bringing HTTP’s caching rules to DuckDB functions with VGI
A data service can tell DuckDB how long an answer is safe to reuse, so repeated queries can skip another API call. Our benchmarks show when that saves time—and when caching costs more than it saves.
Call an API From Every Row in DuckDB, Without the Loop
A table function turns an API call into rows in your database. A LATERAL join lets every row on the left call it — and VGI makes those calls in batches.
A SQL WHERE Clause for Taste
I pointed DuckDB at Hacker News and at Jev, TypeSafe's decision model, and asked it to score 500 stories against one sentence about what I like. It took 17 seconds and cost less than a penny.
DuckDB VARIANT and Arrow: What Works Today
Direct VARIANT interchange with Arrow is merged into DuckDB's 2.0 development branch. See what works, what still needs a release, and the remaining limits across C++, Python, Go, Rust, and Java.
DuckDB 2.0 Pushes Whole Queries Through ADBC—10–11× Faster on PostgreSQL
Query Farm's adbc_scanner uses DuckDB 2.0 whole-query pushdown to run supported queries entirely in PostgreSQL. In our benchmark, it was 10–11× faster.
The Foundation owns the IP. DuckLabs ships the release.
The IP is safe under the DuckDB Foundation, but the Foundation doesn't cut releases — DuckLabs does. What the AWS acquisition changes for people who build on DuckDB, and what Query Farm is doing about it.