Skip to content

Releases

v1.1.0

Choose a tag to compare

@kyleconroy kyleconroy released this 03 Dec 05:02
93df192

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, SHOW access 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, OVERLAY
  • SYSTEM VIEW, SYSTEM ... REPLICA, SYSTEM SCHEDULE MERGE and other non-table SYSTEM arguments
  • ALTER HANDLER, ALTER ... EXECUTE, MODIFY CONSTRAINT, ALTER QUOTA, refreshable materialized view clauses
  • ATTACH TABLE / ATTACH MATERIALIZED VIEW with full CREATE bodies, DESCRIBE (query)
  • IF NOT EXISTS on ALTER ... ADD INDEX/PROJECTION/CONSTRAINT (#123)
  • EPHEMERAL columns, statistics, regex operators, parenthesized joins, NATURAL JOIN, SOME/ALL with 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, engine SETTINGS, windows, empty arrays and Tuple/Enum types

Fixes

  • Fixed a data race when explaining queries concurrently

Other

  • Requires Go 1.25
  • cmd/regenerate-explain now regenerates against a local ClickHouse 26.8 server; new cmd/sync-tests imports upstream test queries

Full changelog: v1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@kyleconroy kyleconroy released this 15 Jan 21:00
23937f5
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>