-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
60590: sql: fix SHOW CREATE output for partitioned and interleaved partial indexes r=mgartner a=mgartner #### sql: fix SHOW CREATE output for partitioned partial indexes The accepted syntax for creating partitioned partial indexes requires the `PARTITION BY` clause to precede the `WHERE` predicate clause. Previously, `SHOW CREATE` formatted indexes with the `WHERE` clause preceding the `PARTITION BY` clause. This commit fixes `SHOW CREATE` to match the parser's accepted ordering of clauses. Fixes #60019 Release note (bug fix): The `SHOW CREATE` output of a partitioned partial index now lists the `PARTITION BY` and `WHERE` clauses in the order accepted by the parser. Release justification: Fixes a bug that makes `SHOW CREATE` not round-trippable. #### sql: fix SHOW CREATE output for partial interleaved indexes The accepted syntax for creating partial interleaved indexes requires the `INTERLEAVE` clause to precede the `WHERE` clause. This commit fixes the output of partial interleaved indexes in `SHOW CREATE` to match this syntax. Fixes #60701 Release note (bug fix): The `SHOW CREATE` output of a partial interleaved index now lists the `INTERLEAVED` and `WHERE` clauses in the order accepted by the parser. Release justification: Fixes a bug that makes `SHOW CREATE` not round-trippable. Co-authored-by: Marcus Gartner <[email protected]>
- Loading branch information
Showing
8 changed files
with
138 additions
and
23 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
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
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