-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
67712: sql: add setting to clone parent partitions for deinterleaving r=otan a=ajwerner See the release note. Fixes #66193. Release note (sql change): Added a new session variable `enable_copying_partitioning_when_deinterleaving_table` (defaulted to a new cluster setting `sql.defaults.copy_partitioning_when_deinterleaving_table.enabled`) which will change the behavior of ALTER PRIMARY KEY when performing a change which retains the same primary key but removes an INTERLEAVE INTO clause. When this variable is true and such an ALTER PRIMARY KEY is run, the partitioning and zone configuration which applied to the root of the interleave will not be applied to the new primary index. Co-authored-by: Andrew Werner <[email protected]>
- Loading branch information
Showing
10 changed files
with
1,025 additions
and
377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
509 changes: 509 additions & 0 deletions
509
pkg/ccl/logictestccl/testdata/logic_test/partitioning_deinterleave
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.