Repository navigation
Batch 10 of 26.8 syntax: backup/database secret masking, IN/NOT/WITH INSERT output, VALID FOR - #137
Merged
kyleconroy merged 14 commits intoDec 1, 2026
Conversation
Adds FROM t STREAM [BOUNDED] [UNORDERED] [CURSOR {...}] [WATERMARK ...]
printed as ASTStreamSettings, LOCAL [kind] JOIN, CTE bodies that start
with a parenthesized union, and regroups unions the way ClickHouse's
NormalizeSelectWithUnionQueryVisitor does (the rightmost DISTINCT
absorbs everything to its left).
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
Port findBackupNameSecretArguments, findDatabaseEngineSecretArguments (including the Backup engine's nested locator reconstruction) and findBigQuerySecretArguments from FunctionSecretArgumentsFinder.cpp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…-literal Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…ples/arrays Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
… USER 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
…T ...) 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
…ities Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
…ATISTICS/SETTINGS/COLLATE Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KB7DMX365Nmn5ksnY
… an Identifier 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
Tenth batch of ClickHouse 26.8 fixes, stacked on #136.
explain_todogoes from 409 to 94 pending statements.findBackupNameSecretArguments,findDatabaseEngineSecretArguments(including theBackupengine's nested S3 locator reconstruction) andfindBigQuerySecretArgumentsintointernal/explain/secrets_backup.go. IN lists insideencrypt/HMACspans are hidden, and arrays of expressions no longer count as literals.x IN ((a, b))prints the tuple directly.NOT (x)binds likeNOT x.WITH ... INSERTputs the WITH clause first in each SELECT.KILL ... TESTno longer shows in the node ID.Nullablequery parameters become_CAST(NULL, T).{x:Identifier}prints as an Identifier.VALID FORintervalst.-1)INSERT INTO t (cols) (SELECT ...)SHOW CREATE USERS/ROLES/QUOTAS/PROFILES/POLICIESCOLLATE(aCollationchild)nan/infoperands of::-nanliteralsTest Plan
go test ./parser/... -timeout 60spasses.go test ./parser/... -check-explainwas run after each change, and the metadata updates are committed.EXPLAIN ASToutput.Generated by Claude Code