TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
Please answer these questions before submitting your issue. Thanks!
1. What did you do?
drop table if exists pt;
create table pt(a bigint, b bigint) partition by hash(a) partitions 4;
-- enable cascades planner
set @@tidb_enable_cascades_planner = 1;
desc select * from pt;
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. What did you do?
2. What did you expect to see?
executed successfully, no panic.
3. What did you see instead?
panic log:
4. What version of TiDB are you using (
tidb-server -V
or runselect tidb_version();
on TiDB)?