-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent Early Ordering Pushdown to Enable Aggregation Pushdown to MyS…
…QL (#16278) Signed-off-by: Andres Taylor <[email protected]>
- Loading branch information
Showing
20 changed files
with
1,008 additions
and
662 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
37 changes: 27 additions & 10 deletions
37
go/test/endtoend/vtgate/queries/benchmark/sharded_schema.sql
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,16 +1,33 @@ | ||
create table tbl_no_lkp_vdx | ||
( | ||
id bigint, | ||
c1 varchar(50), | ||
c2 varchar(50), | ||
c3 varchar(50), | ||
c4 varchar(50), | ||
c5 varchar(50), | ||
c6 varchar(50), | ||
c7 varchar(50), | ||
c8 varchar(50), | ||
c9 varchar(50), | ||
c1 varchar(50), | ||
c2 varchar(50), | ||
c3 varchar(50), | ||
c4 varchar(50), | ||
c5 varchar(50), | ||
c6 varchar(50), | ||
c7 varchar(50), | ||
c8 varchar(50), | ||
c9 varchar(50), | ||
c10 varchar(50), | ||
c11 varchar(50), | ||
c12 varchar(50) | ||
) Engine = InnoDB; | ||
) Engine = InnoDB; | ||
|
||
create table user | ||
( | ||
id bigint, | ||
not_sharding_key bigint, | ||
type int, | ||
team_id int, | ||
primary key (id) | ||
); | ||
|
||
create table user_extra | ||
( | ||
id bigint, | ||
not_sharding_key bigint, | ||
col varchar(50), | ||
primary key (id) | ||
); |
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
Oops, something went wrong.