Specializer SQL support: SELECT * star expansion — corpus 53 → 172 (TASK-46) - #30
Merged
claude-agent-ahrzb[bot] merged 2 commits intoJul 26, 2026
Merged
Conversation
…+ TASK-47 workload builtins wave 1 created Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…TASK-46) Binder::expand_star at the single projection site: plain * and tbl.* in measured DuckDB order (FROM order, declared column order), EXCLUDE in bare/paren forms case-insensitively with DuckDB-mirrored binder errors, mixed *,expr items via item-position expansion. Star over a joined static table rejects cleanly naming the join key (DuckDB includes the key and emits duplicate output names there — both unrepresentable in the typed output model); __THIS__.* under a join works. ILIKE/EXCEPT/REPLACE/RENAME/COLUMNS() reject by name. Corpus replay: 53 -> 172 match of 678 (+119), zero FAILs. Gate green (cargo 129, pytest 627). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
ahrzb
approved these changes
Jul 26, 2026
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.
First rung of the SQL-support push (TASK-46; TASK-47 builtins wave follows separately).
What
Binder::expand_starat the frontend's single projection site — no IR, backend, or boundary changes:*andtbl.*in measured DuckDB order (FROM order, declared column order); mixed*, expritems compose naturally.EXCLUDEin bare/paren forms, case-insensitive, with DuckDB-mirrored binder errors (unknown column, duplicate entry, exclude-all → empty SELECT).['k','x','k','y']) — both unrepresentable in a typed output model.__THIS__.*under a join works.ILIKE/EXCEPT/REPLACE/RENAME/COLUMNS()reject by name (20 corpus mentions total, macro machinery deferred).Measured result
Also in this PR: TASK-45 marked Done with final summary; TASK-46/47 tickets created.
🤖 Generated with Claude Code