-
Notifications
You must be signed in to change notification settings - Fork 4k
sql: alter column identity with the declarative schema changer #157030
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
base: master
Are you sure you want to change the base?
Conversation
|
It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR? 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
5fb6b01 to
95ba509
Compare
Potential Bug(s) DetectedThe three-stage Claude Code analysis has identified potential bug(s) in this PR that may warrant investigation. Next Steps: Note: When viewing the workflow output, scroll to the bottom to find the Final Analysis Summary. After you review the findings, please tag the issue as follows:
|
95ba509 to
f9aa939
Compare
Potential Bug(s) DetectedThe three-stage Claude Code analysis has identified potential bug(s) in this PR that may warrant investigation. Next Steps: Note: When viewing the workflow output, scroll to the bottom to find the Final Analysis Summary. After you review the findings, please tag the issue as follows:
|
f9aa939 to
d17f0de
Compare
Potential Bug(s) DetectedThe three-stage Claude Code analysis has identified potential bug(s) in this PR that may warrant investigation. Next Steps: Note: When viewing the workflow output, scroll to the bottom to find the Final Analysis Summary. After you review the findings, please tag the issue as follows:
|
d17f0de to
6ee6004
Compare
Potential Bug(s) DetectedThe three-stage Claude Code analysis has identified potential bug(s) in this PR that may warrant investigation. Next Steps: Note: When viewing the workflow output, scroll to the bottom to find the Final Analysis Summary. After you review the findings, please tag the issue as follows:
|
6ee6004 to
cff31c9
Compare
Potential Bug(s) DetectedThe three-stage Claude Code analysis has identified potential bug(s) in this PR that may warrant investigation. Next Steps: Note: When viewing the workflow output, scroll to the bottom to find the Final Analysis Summary. After you review the findings, please tag the issue as follows:
|
cff31c9 to
a7020d6
Compare
Previously, if a sequence were restarted and its increment updated in the same transaction (command), the old increment would be used to set the value in KV. This change corrects the `ALTER` DDL to use the new increment value. Informs: cockroachdb#142914 Informs: cockroachdb#21564 Epic: CRDB-31283 Release note (sql change): Restarting a sequence with an updated increment has the expected initial value.
a7020d6 to
11f60f1
Compare
Potential Bug(s) DetectedThe three-stage Claude Code analysis has identified potential bug(s) in this PR that may warrant investigation. Next Steps: Note: When viewing the workflow output, scroll to the bottom to find the Final Analysis Summary. After you review the findings, please tag the issue as follows:
|
This operation covers a single option not multiple. Part of: cockroachdb#142914 Epic: CRDB-31283 Release note: None
Adds support for the `ALTER COLUMN ... [RESTART | SET [CACHE | CYCLE | ... ]` identity operations in the declarative schema changer. Fixes: cockroachdb#142914 Epic: CRDB-31283 Release note (sql change): The `ALTER COLUMN ...` sequence identity commands are run by the declarative schema changer.
11f60f1 to
1a00e73
Compare
Adds support for the
ALTER COLUMN ... [RESTART | SET [CACHE | CYCLE | ... ]identity operations in the declarative schema changer.Fixes:#142914
Epic: CRDB-31283
Release note (sql change): The
ALTER COLUMN ...sequence identitycommands are run by the declarative schema changer.