Extensions
13 posts from the Query.Farm blog tagged Extensions.
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 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.
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.
Compiling Isn't Running: Functionally Testing DuckDB-WASM Extensions
A DuckDB extension that compiles for WebAssembly has only proven that it compiles. Whether it loads, and whether it actually runs, are separate questions. I built a Node harness to ask them across 124 community extensions. Here's what it found and the fixes that came out of it.