executor: build executor failed when disable predidate pushdown
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
```SQL
drop table if exists t1, t2;
create table t1 (a int primary key, b int(1), unique index idx(b));
insert into t1 values(1,1),(2,2),(3,3),(4,4);
create table t2 (a int primary key, b int(1), unique index idx(b));
insert into t2 values(1,1),(2,2),(3,3),(4,4);
insert into mysql.opt_rule_blacklist values('predicate_push_down');ADMIN reload opt_rule_blacklist;
SELECT /*+ hash_join(t1,t2) */ t1.b,t2.b FROM t2 RIGHT JOIN t1 ON t2.b and t2.a > 3;
```
### 2. What did you expect to see? (Required)
### 3. What did you see instead (Required)
### 4. What is your TiDB version? (Required)
Contributor guide
Assessment
This issue has not been assessed yet.