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

fix --statement bugs #379

Merged
merged 1 commit into from
Feb 24, 2025
Merged

Conversation

morgo
Copy link
Collaborator

@morgo morgo commented Feb 24, 2025

A Pull Request should be associated with an Issue.

We wish to have discussions in Issues. A single issue may be targeted by multiple PRs.
If you're offering a new feature or fixing anything, we'd like to know beforehand in Issues,
and potentially we'll be able to point development in a particular direction.
Further notes in https://github.com/cashapp/spirit/blob/main/.github/CONTRIBUTING.md

There are a few bugs in #375

  • Attempting as INSTANT or INPLACE doesn't work when --statement is used. This is because it depends on the --alter specified by the user, and not the stmt.Alter. For consistency I've unified Alter and Schema to come from stmt.
  • Extracting the ALTER portion of an alter statement was inaccurate when the schema name was specified.

@morgo morgo requested a review from kolbe February 24, 2025 15:16
@morgo morgo merged commit c80bee9 into cashapp:main Feb 24, 2025
6 checks passed
@morgo morgo deleted the mtocker-fix-statement-bugs branch February 24, 2025 17:01
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.

2 participants