Repository navigation
Final 26.8 syntax batch: explain_todo reaches zero - #138
Merged
kyleconroy merged 18 commits intoDec 1, 2026
Merged
kyleconroy merged 18 commits into
kyleconroy merged 18 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…literal-word type names Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…ut-of-range enums, quoted column names Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…column named from, aliased literals share explainLiteral Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…uple literals print as functions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…int as expressions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…CT/EXCEPT, nested unions inherit their own WITH Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…lect as a join alias Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…N types, WITH CUBE without GROUP BY, ASCENDING/DESCENDING Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
… parenthesized set query Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…CREATE VIEW FORMAT, DESCRIBE table function depth, PARALLEL WITH ids Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…ing-SELECT result hack Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…mat settings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Kyle · project thread
Summary
The last batch of ClickHouse 26.8 syntax and output fixes. It takes
explain_todofrom 94 to 0: every enabled explain test statement now matches the golden output.Parser:
FROM t SELECT ... OFFSET n) now reuse the regular SELECT parser.|> INTERSECTand|> EXCEPT.selectis accepted as a join alias.EXPLAIN WHATIF.clusterandaliaswork as implicit aliases.ORDER BY x ASCENDING/DESCENDINGparses.WITH CUBE/ROLLUPparses without GROUP BY.LIMIT n OFFSET m WITH TIESparses.* APPLY ((x) -> ...)parses.view((SELECT ...) INTERSECT ...)parses.skipis a typed path inJSON(...).CREATE ... AS (SELECT)become query-level settings.CASE ... END AS Tinside CAST no longer takesTas an alias.Explain output:
::operands that aren't plain text (nan, NULL inside nested arrays) print as expressions.(EXPLAIN ...)subqueries print asviewExplain.Engine settings:
use_hive_partitioning. The format-setting list (internal/explain/format_setting_names.go) was generated by probing a 26.8 server.Removed the hack that appended a trailing
SELECTliteral's value to INSERT output. ClickHouse 26.8 no longer prints it.Test harness: a statement with a
-- { error CODE }hint and no explain file is now skipped, the same wayclientErrorstatements are.Test Plan
go test ./... -timeout 120spasses.go test ./parser/... -check-explainleaves zeroexplain_todoentries, andgo run ./cmd/next-testreports none.EXPLAIN ASToutput.Generated by Claude Code