-
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.
59580: sql: deterministic zone config output for SHOW CREATE r=otan a=stevendanna Previously, tests that depended on the order of the ALTER PARTITION statements generated as part of SHOW CREATE would occasionally fail. This change sorts the zone_configs CTE by the partition_name and index_name, leading to more deterministic output. With this in place, I was able to run the previously flaky test 500 times without failure, whereas it previously would fail after 10 or so runs. Fixes #59511 Release note (sql change): The SHOW CREATE statement now lists ALTER PARTITION statements sorted by the partition name and index_name. Co-authored-by: Steven Danna <[email protected]>
- Loading branch information
Showing
2 changed files
with
21 additions
and
21 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