Skip to content

fix(snowflake/parser): optional column list in DROP PRIMARY KEY (legacy parity)#304

Merged
h3n4l merged 1 commit into
mainfrom
fix/snowflake/drop-pk-cols
Jun 11, 2026
Merged

fix(snowflake/parser): optional column list in DROP PRIMARY KEY (legacy parity)#304
h3n4l merged 1 commit into
mainfrom
fix/snowflake/drop-pk-cols

Conversation

@h3n4l

@h3n4l h3n4l commented Jun 11, 2026

Copy link
Copy Markdown
Member

Strict Parse (#303) exposed that ALTER TABLE … DROP PRIMARY KEY(ID) only "parsed" via the silent trailing-token drop — the column list now mirrors the optional (cols) already accepted on DROP UNIQUE / DROP FOREIGN KEY (legacy ANTLR tolerated it; bytebase advisor yaml differential caught the regression). Test added; full suite green.

🤖 Generated with Claude Code

…P PRIMARY KEY (legacy parity; exposed by strict Parse #303)
@h3n4l h3n4l merged commit 2bdffb0 into main Jun 11, 2026
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