Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow rename-only 'alter-column' operations on unbackfillable columns #341

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

andrew-farries
Copy link
Collaborator

Allow rename-only 'alter column' operations on unbackfillable columns. Rename operations don't require backfills so there is no reason to impose such a restriction.

Fixes #340

@andrew-farries andrew-farries force-pushed the support-multiple-alter-column-sub-ops branch from fd2751f to 0c2e02c Compare April 22, 2024 08:05
Base automatically changed from support-multiple-alter-column-sub-ops to main April 22, 2024 11:11
* When an alter column op requries a backfill, the table must have a
  primary key on exactly one column.
* For rename only alter column ops there is no such restriction.
@andrew-farries andrew-farries merged commit 7d8460f into main Apr 24, 2024
44 checks passed
@andrew-farries andrew-farries deleted the rename-unbackfillable-columns branch April 24, 2024 05:38
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.

Rename-only 'alter column' operations shouldn't be restricted to tables with PKs
2 participants