【 使用环境 】测试环境
【 OB or 其他组件 】OB
【 使用版本 】5.7.25-OceanBase-v4.2.5.4
【问题描述】
obclient [SYS]> create table test123(name varchar2(100) ,id number ,CONSTRAINT idx_test123 unique (id) );
Query OK, 0 rows affected (0.187 sec)
obclient [SYS]> drop table test123;
ERROR-00600: recursive UNION DISTINCT in Recursive Common Table Expression not supported
obclient [SYS]> drop table test123 cascade;
ORA-00900: You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for the right syntax to use near ‘cascade’ at line 1
obclient [SYS]> drop table test123 force;
ORA-00900: You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for the right syntax to use near ‘force’ at line 1
obclient [SYS]> drop table test123 purge;
ERROR-00600: recursive UNION DISTINCT in Recursive Common Table Expression not supported
obclient [SYS]> alter table test123 disable constraint idx_test123;
ORA-00600: internal error code, arguments: -4007, Modify unique constraint not supported
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):
【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!