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: Remove feature gate for ALTER COLUMN TYPE #135936

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

spilchen
Copy link
Contributor

Previously, altering a column’s type requiring a backfill required the enable_experimental_alter_column_type_general setting to be enabled. This restriction has been removed, as full support for ALTER COLUMN TYPE has been implemented in the Declarative Schema Changer (DSC).

The setting is still checked in mixed-version clusters, as the operation relies on 25.1 dependency rules, and when using the legacy schema changer.

Epic: CRDB-25314
Informs #49329
Release note (general): Altering a column’s type no longer requires enabling the enable_experimental_alter_column_type_general setting. This change makes the feature generally available.

@spilchen spilchen self-assigned this Nov 21, 2024
@spilchen spilchen requested review from a team as code owners November 21, 2024 19:46
@spilchen spilchen requested review from herkolategan and nameisbhaskar and removed request for a team November 21, 2024 19:46
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Previously, altering a column’s type requiring a backfill required the
enable_experimental_alter_column_type_general setting to be enabled.
This restriction has been removed, as full support for ALTER COLUMN TYPE
has been implemented in the Declarative Schema Changer (DSC).

The setting is still checked in mixed-version clusters, as the operation
relies on 25.1 dependency rules, and when using the legacy schema
changer.

Epic: CRDB-25314
Informs cockroachdb#49329
Release note (general change): Altering a column’s type no longer requires
enabling the enable_experimental_alter_column_type_general setting. This
change makes the feature generally available.
@spilchen spilchen force-pushed the gh-49329/241121/1009/add-gate branch from 9154ec0 to 2072472 Compare November 21, 2024 19:51
Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @herkolategan, @nameisbhaskar, and @spilchen)


-- commits line 15 at r1:
super nit: let's use sql change for the release note category, as schema changes and session settings both fall under that.

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.

3 participants