Burrmill
Burrmill is a SQL engine that runs DuckDB's SQL dialect on DataFusion over Parquet (and CSV/JSON) files, with exact integer arithmetic: sums and casts refuse on overflow instead of wrapping silently.
What it addresses
Token amounts are big integers; a sum that wraps silently gives a wrong answer that looks right — stock DataFusion returns 7766279631452241920 for SELECT 10000000000 * 10000000000, while Burrmill refuses sums and casts on overflow instead of wrapping.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Burrmill
Burrmill is a SQL engine that runs DuckDB's SQL dialect on DataFusion over Parquet (and CSV/JSON) files, with exact integer arithmetic: sums and casts refuse on overflow instead of wrapping silently.
Problem: Token amounts are big integers; a sum that wraps silently gives a wrong answer that looks right — stock DataFusion returns 7766279631452241920 for SELECT 10000000000 * 10000000000, while Burrmill refuses sums and casts on overflow instead of wrapping.
Posted by @cargopete · Original source ↗
Story title · @cargopete · · Source ↗
Show HN: Burrmill – SQL over Parquet with exact integer arithmetic
Submitted URL · @cargopete · · Source ↗
https://github.com/nuthatch-org/burrmill
Source text · @cargopete · · Source ↗
Burrmill in once sentence - DuckDB's SQL dialect on DataFusion.
Source text · @cargopete · · Source ↗
So, nuthatch needed SQL over its Parquet segments, and token amounts are big integers, a sum that wraps silently gives a wrong answer that looks right.
Source text · @cargopete · · Source ↗
one example - Stock DataFusion: `SELECT 10000000000 * 10000000000` returns `7766279631452241920`. Burrmill refuses. Sums and casts refuse on overflow instead of wrapping.