forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opt: set all session settings to their global default
All session settings in optimizer tests and benchmarks are now set to their global defaults. Prior to this commit each new session setting had to be manually set in both tests and benchmarks. This step could be forgotten, such as with `optimizer_merge_joins_enabled` which was unknowingly disabled in benchmarks when it was added. Now, all session settings with global defaults are automatically set. Additionally, `sql.SetSessionVariable` has been renamed to `sql.TestingSetSessionVariable` to discourage its use outside of tests. NOTE: Now that `optimizer_merge_joins_enabled` is enabled, some benchmarks will appear to regress. Release note: None
- Loading branch information
Showing
5 changed files
with
41 additions
and
60 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