build(deps): update sqlparser requirement from 0.62 to 0.63 - #22
Merged
Merged
Conversation
Supersedes #19, which is the bare manifest bump and does not compile. 0.63 adds AST variants and reshapes the MERGE update clause. New `Statement` variants, all DDL/admin with no data lineage, added to the `StatementType::Other` list: `CreateTextSearch`, `AlterTextSearch`, `CreateFileFormat`, `CreateWarehouse`, `Put`. `Expr::IsJson` joins the other `IS <predicate>` arms and recurses into its operand, so `SELECT a FROM t WHERE b IS JSON` still sees `b`. `TableFactor::UnpivotExpr` (Redshift SUPER unpivoting) joins the pivot-family factors that carry no table reference of their own. `MergeAction::DoNothing` joins `Delete` as a no-lineage clause. `MergeUpdateExpr.assignments` became `kind: MergeUpdateKind`, which is either `Set(assignments)` — the previous behavior — or `Wildcard`, the new `UPDATE SET *`. 0.63 also adds `MergeInsertKind::Wildcard` for `INSERT *`; that one compiles silently because the arm was an `if let`, so it would have dropped lineage without a word. Both wildcards mean "every column of the source row", so both now emit the same `Star` node `SELECT *` emits: an honest unexpanded star without a catalog, the source's real columns with one. `MergeInsertKind::Row` (`INSERT ROW`) means the same thing and is also dropped, but it predates 0.63 and is left alone here; the `if let` became a `match` so the gap is at least visible. No dialects were added or removed in 0.63, so `Dialect` is unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
funcpp
force-pushed
the
chore/sqlparser-0.63
branch
from
September 21, 2026 05:37
96b4f4a to
0259747
Compare
This was referenced Sep 21, 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.
Supersedes #19. The bare manifest bump does not compile — 0.63 adds AST variants and reshapes the MERGE update clause.
Compile breaks
Statementvariants:CreateTextSearch,AlterTextSearch,CreateFileFormat,CreateWarehouse,PutStatementType::OtherlistExpr::IsJsonIS <predicate>arms; recurses into its operandTableFactor::UnpivotExpr(Redshift SUPER unpivoting)MergeAction::DoNothingDeleteas a no-lineage clauseMergeUpdateExpr.assignments→kind: MergeUpdateKindMERGE wildcards
MergeUpdateKindis eitherSet(assignments)— the previous behavior — orWildcard, the newUPDATE SET *. 0.63 also addsMergeInsertKind::WildcardforINSERT *.That second one compiles silently: the arm was an
if let ... Values(..), soINSERT *would have parsed fine and produced no lineage at all. Worth flagging, since a silent gap is what a bare dependency bump merges.Both wildcards mean "every column of the source row", so both now emit the same
StarnodeSELECT *emits:The source is already bound in the current scope when the clause is visited, so the star resolves against the source and not the target — which is the right side.
Not changed
Dialectand feat: support every dialect sqlparser exposes #18's list stay as they are. (Still no Trino.)MergeInsertKind::Row(INSERT ROW) means the same thing asINSERT *and is also dropped, but it predates 0.63, so this PR leaves its behavior alone. Theif letdid become amatch, so the gap is now visible rather than implicit. Happy to fix it separately.Tests
2 new, 93 total:
merge_update_set_wildcard_is_an_unexpanded_starmerge_insert_wildcard_expands_from_catalog🤖 Generated with Claude Code