Releases: sqlc-dev/zetajones
Releases · sqlc-dev/zetajones
Release list
v0.1.0
First release of zetajones, a GoogleSQL (formerly ZetaSQL) parser written in pure Go — no cgo.
Highlights
- Full grammar coverage: passes the entire upstream parser golden-test corpus (~4,700 cases vendored from google/googlesql release 2026.01.1), byte-for-byte including
ASTNode::DebugStringoutput, error messages, and caret positions - Complete GoogleSQL surface: queries, DDL/DML, scripts, macros, pipe operators (
|>), MATCH_RECOGNIZE, and the full graph-query feature (GQL /GRAPH_TABLE) - Entry points:
parser.ParseStatement,ParseMultiple,ParseScript,ParseExpression,ParseType(+WithOptionsvariants with feature gating), andParse(ctx, io.Reader) - ZetaSQL-style errors with line/column and caret rendering
- Fast: ~280k simple statements/sec, 21–27 MB/s on an M1 Max
- Fuzz-tested (12M+ executions, no panics); race-clean; builds with
CGO_ENABLED=0 - Zero dependencies; requires Go 1.26
GoogleSQL is Apache 2.0; ported grammar logic carries attribution throughout.