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

sql/schemachanger: add fallback for temp sequences #121379

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented Mar 29, 2024

The new schema changer doesn't yet support temporary objects, so we need
to fallback to the old one.

This PR is stacked on top of #121376. Only the last commit needs to be reviewed.
informs #121377
Release note: None

@rafiss rafiss added the backport-24.1.x Flags PRs that need to be backported to 24.1. label Mar 29, 2024
@rafiss rafiss requested a review from fqazi March 29, 2024 18:52
@rafiss rafiss requested a review from a team as a code owner March 29, 2024 18:52
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Previously, a statement like `CREATE TYPE geography` would cause an
internal error. The legacy schema changer has an explicit check for
this, which was not in the new schema changer.

Release note: None
The new schema changer doesn't yet support temporary objects, so we need
to fallback to the old one.

Release note: None
Copy link
Contributor

@annrpom annrpom left a comment

Choose a reason for hiding this comment

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

LGTM!

@rafiss
Copy link
Collaborator Author

rafiss commented Mar 29, 2024

flake was #121342

tftr!

bors r+

@craig
Copy link
Contributor

craig bot commented Mar 29, 2024

Build failed:

@rafiss
Copy link
Collaborator Author

rafiss commented Mar 29, 2024

bors r+

@craig craig bot merged commit 0074afb into cockroachdb:master Mar 29, 2024
20 of 22 checks passed
@rafiss rafiss deleted the dsc-temp-sequence branch March 30, 2024 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-24.1.x Flags PRs that need to be backported to 24.1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants