Commit 92912e6
Merge #158141
158141: sql: add ALTER TABLE ... SET SCHEMA to the declerative schema changer r=shghasemi a=shghasemi
This change adds support for `ALTER TABLE ... SET SCHEMA` to the
declarative schema changer. Before, this operation was ran by the
legacy schema changer.
Epic [CRDB-31281](https://cockroachlabs.atlassian.net/browse/CRDB-31281)
Fixes #155989
Release note (sql change): `ALTER TABLE ... SET SCHEMA` is supported by
the declerative schema changer.
Co-authored-by: Shadi Ghasemitaheri <shadi.ghasemitaheri@cockroachlabs.com>File tree
130 files changed
+1066
-739
lines changed- pkg
- backup/testdata/backup-restore
- ccl/schemachangerccl
- sctestbackupccl
- testdata/end_to_end
- drop_database_multiregion_primary_region
- drop_table_multiregion_primary_region
- drop_table_multiregion
- drop_table_trigger
- sql
- logictest/testdata/logic_test
- schemachanger
- scbuild
- internal/scbuildstmt
- testdata
- scplan/testdata
- screl
- testdata/end_to_end
- add_column_generated
- add_column_serial_simple_sequence_cached_node
- add_column_serial_simple_sequence_cached
- add_column_serial_simple_sequence_virtual
- add_column_serial_simple_sequence
- alter_table_alter_column_add_identity
- alter_table_rename
- alter_table_set_schema
- create_complex
- create_database_drop_database_separate_statements
- create_database
- create_index_create_database_separate_statements
- create_index_create_schema_separate_statements
- create_schema_drop_schema_separate_statements
- create_schema
- create_sequence_add_column
- create_sequence_drop_sequence
- create_sequence
- create_temp_sequence
- drop_column_sequence_owner
- drop_index_with_materialized_view_dep
- drop_schema
- drop_table_udf_default
- drop_table
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
130 files changed
+1066
-739
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | 191 | | |
193 | 192 | | |
194 | 193 | | |
195 | | - | |
| 194 | + | |
196 | 195 | | |
197 | 196 | | |
198 | 197 | | |
| |||
389 | 388 | | |
390 | 389 | | |
391 | 390 | | |
392 | | - | |
| 391 | + | |
393 | 392 | | |
394 | 393 | | |
395 | 394 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | 177 | | |
179 | 178 | | |
180 | 179 | | |
181 | | - | |
| 180 | + | |
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
| |||
361 | 360 | | |
362 | 361 | | |
363 | 362 | | |
364 | | - | |
| 363 | + | |
365 | 364 | | |
366 | 365 | | |
367 | 366 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments