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

Feat(redshift): improve ALTER TABLE .. ALTER .. support #3444

Merged
merged 1 commit into from
May 9, 2024

Conversation

georgesittas
Copy link
Collaborator

No description provided.

Comment on lines +512 to +515
self.validate_identity(
"ALTER TABLE t ALTER DISTKEY c",
"ALTER TABLE t ALTER DISTSTYLE KEY DISTKEY c",
)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these two are equivalent, the docs had this:

ALTER DISTKEY column_name or ALTER DISTSTYLE KEY DISTKEY column_name. A clause that changes the column used as the distribution key of a table. Consider the following: [...]

@georgesittas georgesittas merged commit baf39e7 into main May 9, 2024
5 checks passed
@georgesittas georgesittas deleted the jo/alter_statement_improvements branch May 9, 2024 20:24
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.

None yet

2 participants