Repository navigation
Clear the remaining explain_todo statements from the enabled tests - #141
Merged
kyleconroy merged 1 commit intoDec 1, 2026
Merged
kyleconroy merged 1 commit into
kyleconroy merged 1 commit into
Conversation
- SHOW TABLES accepts IN as well as FROM. - COLUMN can be an implicit alias (select x column). - Double-quoted identifiers use the same escape rules as backquoted ones, so unknown escapes keep their backslash; identifier and column names are escaped like ClickHouse's writeEscapedString when printed. - The DISTINCT group of a mixed union flattens nested unions, matching NormalizeSelectWithUnionQueryMatcher. - EXPLAIN CURRENT TRANSACTION works as a subquery (viewExplain with two arguments). - A query parameter in WITH keeps its alias. - INTERVAL CASE ... END <unit> parses as an interval. - WITH elements cloned into later SELECTs of a union print TableJoin before TableExpression, as ASTTablesInSelectQueryElement::clone does. explain_todo is empty again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4GWXBrmUXAf6RUPFSs
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
Stacked on #140. This fixes the other 20
explain_todostatements from the tests enabled in #139, soexplain_todois empty again.SHOW TABLES IN dbis accepted (same asFROM).COLUMNcan be an implicit alias (select nonexistent column).\ukeep their backslash. Identifier and column names are printed with ClickHouse'swriteEscapedStringescaping (\\,\',\t,\b, ...).NormalizeSelectWithUnionQueryMatcher::getSelectsFromUnionListNodedoes.(EXPLAIN CURRENT TRANSACTION)as a subquery printsviewExplainwith two arguments.TRANSACTIONwas being read as an alias.with {p:UInt8} as p) keeps its alias.INTERVAL CASE ... END MINUTEparses as an interval.TableJoinbeforeTableExpression, matchingASTTablesInSelectQueryElement::clone.go test ./...passes.-check-explainleaves no pending statements.Generated by Claude Code