Repository navigation
Releases
Releases · sqlc-dev/doubleclick
v1.1.0
doubleclick now targets ClickHouse 26.8 LTS. Every golden EXPLAIN AST file was regenerated against 26.8, the test corpus was re-synced with upstream ClickHouse (6,823 → 10,859 test queries), and every statement in every test now matches ClickHouse's output: there are no skipped (explain_todo) statements left.
New syntax
- Pipe operators and compound intervals
EXECUTE AS, masking policies,SHOWaccess entities,UNIQUE KEY- WebAssembly functions,
OPTIMIZE ... DRY RUN,IS [NOT] DISTINCT FROM, typed JSON paths SQL SECURITY,CREATE HANDLER, TimeSeries targets,VALID UNTIL/VALID FOR,AT TIME ZONE,OVERLAYSYSTEM VIEW,SYSTEM ... REPLICA,SYSTEM SCHEDULE MERGEand other non-tableSYSTEMargumentsALTER HANDLER,ALTER ... EXECUTE,MODIFY CONSTRAINT,ALTER QUOTA, refreshable materialized view clausesATTACH TABLE/ATTACH MATERIALIZED VIEWwith fullCREATEbodies,DESCRIBE (query)IF NOT EXISTSonALTER ... ADD INDEX/PROJECTION/CONSTRAINT(#123)EPHEMERALcolumns, statistics, regex operators, parenthesized joins,NATURAL JOIN,SOME/ALLwith arrays,COLLATE
Explain output
- Secret arguments (credentials in table functions, engines, dictionaries, backups and database engines) print as
'[HIDDEN]', matching ClickHouse 26.x - Query-construction settings are wrapped the way ClickHouse does it
- Output updated for 26.8 changes to
IN,NOT,::casts,WITH ... INSERT, engineSETTINGS, windows, empty arrays andTuple/Enumtypes
Fixes
- Fixed a data race when explaining queries concurrently
Other
- Requires Go 1.25
cmd/regenerate-explainnow regenerates against a local ClickHouse 26.8 server; newcmd/sync-testsimports upstream test queries
Full changelog: v1.0.0...v1.1.0
v1.0.0
Add issue template, PR template, and CONTRIBUTING.md (#120) - Issue template requests full SQL query and suggests EXPLAIN AST output - PR template notes that external PRs are not accepted - CONTRIBUTING.md explains that all code is written by Claude Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>