问题现象
执行如下语句将非分区表改为分区表发现如下报错。
obclient > alter table test1 partition by hash(id) partitions 10;
ERROR 4179 (HY000): partitioned table not allowed
问题原因
OceanBase 数据库目前不支持非分区表改成分区表的功能。
适用版本
OceanBase 数据库 V2.x 和 V3.x 版本。
更新时间:2024-01-22 01:56
执行如下语句将非分区表改为分区表发现如下报错。
obclient > alter table test1 partition by hash(id) partitions 10;
ERROR 4179 (HY000): partitioned table not allowed
OceanBase 数据库目前不支持非分区表改成分区表的功能。
OceanBase 数据库 V2.x 和 V3.x 版本。