Skip to content

Fix SETTINGS placement in EXPLAIN output based on SettingsAfterFormat#84

Merged
kyleconroy merged 2 commits intomainfrom
claude/fix-failing-tests-zAFXk
Dec 29, 2025
Merged

Fix SETTINGS placement in EXPLAIN output based on SettingsAfterFormat#84
kyleconroy merged 2 commits intomainfrom
claude/fix-failing-tests-zAFXk

Conversation

@kyleconroy
Copy link
Copy Markdown
Collaborator

When SETTINGS comes before FORMAT in a query, it should be output
inside SelectQuery. When SETTINGS comes after FORMAT, it should be
output at the SelectWithUnionQuery level.

This fixes ~58 tests that had incorrect SETTINGS placement in their
EXPLAIN AST output.

When SETTINGS comes before FORMAT in a query, it should be output
inside SelectQuery. When SETTINGS comes after FORMAT, it should be
output at the SelectWithUnionQuery level.

This fixes ~58 tests that had incorrect SETTINGS placement in their
EXPLAIN AST output.
@kyleconroy kyleconroy merged commit fec9a6b into main Dec 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants