Open pcqz opened 2 hours ago
The binding can be created but can't work in v6.5.11.
mysql> create binding for select high_priority * from t using select /*+ use_index(t, i_a) */ high_priority * from t;
Query OK, 0 rows affected (0.00 sec)
mysql> explain select high_priority * from t;
+-----------------------+----------+-----------+---------------+--------------------------------+
| id | estRows | task | access object | operator info |
+-----------------------+----------+-----------+---------------+--------------------------------+
| TableReader_5 | 10000.00 | root | | data:TableFullScan_4 |
| └─TableFullScan_4 | 10000.00 | cop[tikv] | table:t | keep order:false, stats:pseudo |
+-----------------------+----------+-----------+---------------+--------------------------------+
2 rows in set (0.00 sec)
/report customer
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
NO ERROR
3. What did you see instead (Required)
ERROR 8066
4. What is your TiDB version? (Required)
v8.3.0