Extensions
32 posts from the Query.Farm blog tagged Extensions.
A5 for DuckDB 2.0: new cell IDs and sets of cells
A5 1.0 changes stored cell IDs and adds compact coverings, set operations, and spatial hierarchy functions. Here is how to migrate DuckDB queries safely.
Cronjob for DuckDB 2.0: see what ran, when, and why it failed
Cronjob adds run history, typed timestamps, and per-row scheduling in DuckDB 2.0. Impossible schedules fail early, and jobs stop when their database closes.
Rhai for DuckDB 2.0: cached rules and bounded execution
DuckDB’s Rhai extension now caches compiled rules, limits their work, and removes filesystem access while keeping per-row results and errors queryable in SQL.
Fuzzycomplete for DuckDB 2.0: put the useful suggestion first
Fuzzycomplete now ranks relevant tables and columns first, handles SQL comments, and matches DuckDB 2.0 shell completion metadata without hiding tied matches.
GeoSilo for DuckDB 2.0: validate the bytes, preserve the geometry
GeoSilo adds full BLOB validation and safer decoding in DuckDB 2.0, repairs Z and M geometry round trips, and makes area, length and perimeter match Spatial.
HTTP Server for DuckDB 2.0: a server that belongs to its database
DuckDB’s HTTP Server extension now owns servers per database, requires authentication for remote access, supports TLS, and reports startup failures clearly.
Inflector for DuckDB 2.0: unique column names and per-connection acronyms
Inflector for DuckDB 2.0 isolates acronym settings by connection, resolves renamed column collisions, and adds human-readable labels, URL slugs, and class names.
JSON Schema for DuckDB 2.0: validate a column without losing the bad rows
JSON Schema for DuckDB 2.0 adds boolean validation, structured errors, and support through draft 2020-12, with explicit format checks and safer regular expressions.
JSONata for DuckDB 2.0: expressions that can be stopped
JSONata for DuckDB 2.0 adds evaluation timeouts, depth limits, syntax validation, and compiled-expression caching, with RE2 patterns and correct per-row randomness.
MiniJinja for DuckDB 2.0: a budget for rendering templates
MiniJinja’s DuckDB 2.0 branch adds per-render instruction budgets, correct undefined modes, reusable templates, and file loading through DuckDB’s access controls.
Open Prompt for DuckDB 2.0: each row gets its own request
Open Prompt now reads options per row, reports API failures as SQL errors, and uses DuckDB secrets and HTTP settings for LLM requests from SQL.
QuickJS for DuckDB 2.0: pass real values to JavaScript
QuickJS for DuckDB 2.0 passes lists, structs, dates, and large integers as native JavaScript values, with memory limits, timeouts, and fixes for crashing scripts.
Radio for DuckDB 2.0: listen again, and see what the queue lost
Radio fixes missed wakeups and repeated prepared statements, exposes dropped messages, and preserves text and binary WebSocket payloads in DuckDB.
Redis for DuckDB 2.0: typed replies, pooled connections and timeouts
Redis for DuckDB 2.0 adds lists and maps, cursor-based scans, pipelined commands, credential-scoped connection reuse, and interruptible network waits.
Shellfs for DuckDB 2.0: pipes that stop when the query stops
Shellfs now interrupts stalled pipes on POSIX, cleans up abandoned commands, respects external-access settings, and handles broken pipes without killing DuckDB.
Tera for DuckDB 2.0: template files follow the database’s rules
Tera for DuckDB 2.0 checks template file access, disables environment reads by default, catches recursive templates, and reuses parsed templates across rows.
Textplot for DuckDB 2.0: a sparkline for each group
Textplot adds tp_sparkline_agg for grouped and windowed SQL charts in DuckDB 2.0, native named options, and reliable scaling across extreme numeric ranges.
TSID for DuckDB 2.0: native UUIDs and IDs from event time
TSID adds native UUID output and timestamp inputs in DuckDB 2.0, fixes concurrent random generation, and rejects malformed IDs without crashing the process.
Webmacro for DuckDB 2.0: load one macro, in your transaction
Webmacro now validates one CREATE MACRO statement, uses verified HTTPS, limits response size, and creates macros in the caller’s DuckDB transaction.
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.