SELECT execution failed when using opt_rule_blacklist
- 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
CREATE TABLE t0(c0 INTEGER UNSIGNED );
CREATE TABLE t1(c0 BOOL , c1 CHAR, c2 INT);
insert into t0 values(1), (2), (3);
insert into t1 values(0, 'a', 1), (1, 'b', 2), (1, 'c', 3);
INSERT INTO mysql.opt_rule_blacklist VALUES("predicate_push_down");
ADMIN reload opt_rule_blacklist;
SELECT t1.c0 FROM t0 RIGHT JOIN t1 ON (NOT (false));
```
### 2. What did you expect to see? (Required)
```sql
+------+
| c0 |
+------+
| 1 |
| 1 |
| 0 |
| 1 |
| 1 |
| 0 |
| 1 |
| 1 |
| 0 |
+------+
```
### 3. What did you see instead (Required)
ERROR 8118 (HY000): Failed to build executor
### 4. What is your TiDB version? (Required)
release version 8.0.0
Contributor guide
Assessment
This issue has not been assessed yet.