版本
Server version: 5.7.25 OceanBase_CE 4.0.0.0 (r100000272022110114-6af7f9ae79cd0ecbafd4b1b88e2886ccdba0c3be) (Built Nov 1 2022 14:57:18)
参考文档:
CREATE TABLE -OceanBase 数据库-OceanBase文档中心-分布式数据库使用文档
执行下面的SQL报错(mysql/obclient结果均报错):
ob [test]>create table t1(id bigint not null auto_increment , c1 varchar(50), c2 timestamp not null default current_timestamp) DUPLICATE_SCOPE = cluster;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for the right syntax to use near 'DUPLICATE_SCOPE = cluster' at line 1
OceanBase 数据库社区版 V4.0.0-OceanBase 数据库-OceanBase文档中心-分布式数据库使用文档
上述文档中,没看到4.0.0的release notes中有关于去掉该功能的描述。