-
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.
39439: sql: optimizer always on r=RaduBerinde a=RaduBerinde #### sql, workload: don't disable the optimizer in tests In preparation for removing the possibility of turning off the optimizer, adjust tests and benchmarks that are disabling the optimizer. Release note: None #### sql: optimizer always on This change deprecates the `optimizer` session setting and associated cluster setting. It is no longer possible to disable the optimizer. The settings still exist but the only allowed value is "on" (mostly so that `SET OPTIMIZER = ON` still works). The logic test configurations are reworked: they now all use the optimizer, and the `-opt` versions are gone (e.g. what used to be `local-opt` is now `local`). The HP-specific planner tests are removed. Release note: None 39463: roachtest: Bump min version for direct ingest import roachtest r=adityamaru27 a=adityamaru27 Bumping the roachtest version to 19.2.0 to ensure it runs on master branch. Closes: #39395 Release note: None 39467: roachtest: add backward compat to replicate/wide r=solongordon a=solongordon In 6c24930, I updated the way replication zones are named, which affected the replicate/wide roachtest. However I neglected to add backward compatibility for testing against previous releases. This commit restores the old logic for that scenario. Release note: None Co-authored-by: Radu Berinde <[email protected]> Co-authored-by: Aditya Maru <[email protected]> Co-authored-by: Solon Gordon <[email protected]>
- Loading branch information
Showing
208 changed files
with
307 additions
and
14,750 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# LogicTest: local-opt | ||
# LogicTest: local | ||
|
||
statement ok | ||
CREATE TABLE t (i INT) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# LogicTest: local-opt | ||
# LogicTest: local | ||
|
||
query IITTITTT colnames | ||
SELECT * FROM crdb_internal.partitions | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# LogicTest: 5node-dist-opt | ||
# LogicTest: 5node-dist | ||
|
||
# Tests for the show partitions command. | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# LogicTest: 5node-dist-opt | ||
# LogicTest: 5node-dist | ||
|
||
statement ok | ||
CREATE TABLE t ( | ||
|
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
2 changes: 1 addition & 1 deletion
2
pkg/ccl/logictestccl/testdata/logic_test/partitioning_constrained_scans
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# LogicTest: local-opt fakedist-opt | ||
# LogicTest: local fakedist | ||
|
||
# Simple partitioning example. | ||
statement ok | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# LogicTest: local-opt | ||
# LogicTest: local | ||
|
||
statement ok | ||
CREATE TABLE ok1 ( | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# LogicTest: local-opt | ||
# LogicTest: local | ||
|
||
query T colnames | ||
SHOW ROLES | ||
|
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
Oops, something went wrong.