Closed wjhuang2016 closed 1 year ago
I'm not sure if it's exactly the same case, but I figured out a minimal reproduce with the same panic stack trace.
create table t(a int, b int, index iab(a,b));
insert into t value(1,1);
analyze table t;
alter table t rename column b to bb;
explain select * from t where a = 10 and bb > 20;
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
plan_replayer.zip
2. What did you expect to see? (Required)
No error
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
master