Skip to content

Split AST definitions by SQL domain - #345

Merged
git-hulk merged 2 commits into
AfterShip:masterfrom
git-hulk:codex/split-ast-by-domain
Nov 18, 2026
Merged

git-hulk merged 2 commits into
AfterShip:masterfrom
git-hulk:codex/split-ast-by-domain

Conversation

@git-hulk

Copy link
Copy Markdown
Member

AST definitions and their methods share a single large file, making SQL
families difficult to navigate and maintain.

Group the existing nodes into domain-specific files within parser and
keep the core interfaces in ast.go. Preserve all public types and
behavior, and update the documented layout.

Assistant-By GPT-6

AST definitions and their methods share a single large file, making SQL
families difficult to navigate and maintain.

Group the existing nodes into domain-specific files within parser and
keep the core interfaces in ast.go. Preserve all public types and
behavior, and update the documented layout.

Assistant-By GPT-6
The AST split predates upstream additions for QUALIFY, LIMIT WITH TIES,
and row policies.

Merge upstream master while placing the updated query nodes in
ast_query.go and retaining the dedicated row-policy file. Keep the
public API and parsing behavior identical to the upstream baseline.

Assistant-By GPT-6
@git-hulk
git-hulk merged commit 691c060 into AfterShip:master Nov 18, 2026
1 of 2 checks 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.

1 participant