-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/pingcap/tidb into explain…
…_ctx
- Loading branch information
Showing
378 changed files
with
16,773 additions
and
5,218 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
use test; | ||
drop table if exists t; | ||
create table t (a int); | ||
explain select * from t where a < 1; | ||
id count task operator info | ||
TableReader_7 3323.33 root data:Selection_6 | ||
└─Selection_6 3323.33 cop lt(test.t.a, 1) | ||
└─TableScan_5 10000.00 cop table:t, range:[-inf,+inf], keep order:false, stats:pseudo | ||
insert into mysql.opt_rule_blacklist values('predicate_push_down'); | ||
admin reload opt_rule_blacklist; | ||
|
||
explain select * from t where a < 1; | ||
id count task operator info | ||
Selection_5 8000.00 root lt(test.t.a, 1) | ||
└─TableReader_7 10000.00 root data:TableScan_6 | ||
└─TableScan_6 10000.00 cop table:t, range:[-inf,+inf], keep order:false, stats:pseudo | ||
delete from mysql.opt_rule_blacklist where name='predicate_push_down'; | ||
admin reload opt_rule_blacklist; | ||
|
||
explain select * from t where a < 1; | ||
id count task operator info | ||
TableReader_7 3323.33 root data:Selection_6 | ||
└─Selection_6 3323.33 cop lt(test.t.a, 1) | ||
└─TableScan_5 10000.00 cop table:t, range:[-inf,+inf], keep order:false, stats:pseudo | ||
insert into mysql.expr_pushdown_blacklist values('lt'); | ||
admin reload expr_pushdown_blacklist; | ||
|
||
explain select * from t where a < 1; | ||
id count task operator info | ||
Selection_5 8000.00 root lt(test.t.a, 1) | ||
└─TableReader_7 10000.00 root data:TableScan_6 | ||
└─TableScan_6 10000.00 cop table:t, range:[-inf,+inf], keep order:false, stats:pseudo | ||
delete from mysql.expr_pushdown_blacklist where name='lt'; | ||
admin reload expr_pushdown_blacklist; | ||
|
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.