VGI
9 posts from the Query.Farm blog tagged VGI.
Vector tiles as DuckDB tables
vgi-mvt reads the vector tiles behind most web maps into DuckDB tables, one row per feature, and writes tilesets back with COPY. Counting places in central Florence reads 273 KB of a 4.66 GB worldwide archive.
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.
Why we built VGI instead of waiting for Arrow Flight 2.0
Arrow Flight moves large datasets between applications, but is awkward to use from a browser. Building an alternative taught us why its future is likely to split across several projects.
SQL in your browser, code and data on your machine—with Iroh
Call VGI functions and query databases through Grainlift and ADBC, without deploying a public HTTP endpoint or managing TLS certificates.
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.
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.
Quack and VGI: Two Approaches to Bringing RPC to DuckDB
Quack — the new client/server protocol extension for DuckDB — was announced today. It's been built since November 2025, almost exactly as long as I've been building VGI. Here's what's interesting, what's surprising, and where the two projects converge and diverge.