Repository navigation
Parse new ClickHouse 26.x syntax (batch 5) - #132
Open
kyleconroy wants to merge 7 commits into
Open
kyleconroy wants to merge 7 commits into
kyleconroy wants to merge 7 commits into
Conversation
Disks, models, listener protocols, failpoints and similar names are not tables, so 26.x prints these SYSTEM queries without children. Also handle UNLOAD DICTIONARY like RELOAD DICTIONARY and ON CLUSTER after the name. 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
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
… function argument 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
Fifth batch of ClickHouse 26.8 syntax and EXPLAIN AST changes, stacked on batch 4. Pending explain statements drop from 2,038 to 1,694.
FLUSH ASYNC INSERT QUEUE,JEMALLOC,KILL,SHUTDOWN, ...) no longer print it as a child.UNLOAD DICTIONARYbehaves likeRELOAD DICTIONARY, andON CLUSTERmay follow the name.DEFINER = .../SQL SECURITY ...on views and materialized views (View SQL Security), plusALTER TABLE ... MODIFY SQL SECURITY.CREATE HANDLER ... AS <query>andDROP HANDLER.DATA/TAGS/METRICS/[RECENT] SAMPLEStargets, includingINNER ENGINEandINNER COLUMNS(ViewTargets).VALID UNTILon users and on individual authentication methods.x AT TIME ZONE tz/x AT LOCAL(toTimeZone),OVERLAY(s PLACING r FROM p [FOR n]), andSettingsas a plain function argument (has(Settings, 'x')).EXPLAIN ANALYZE, aliased(EXPLAIN ...)subqueries, and(VALUES (...), (...))table subqueries (SQLStandardValues).Test Plan
go test ./parser/... -timeout 30spasses.go test ./parser/... -check-explainand committed the updatedmetadata.jsonfiles.EXPLAIN AST.Generated by Claude Code