odc
odc copied to clipboard
[Bug]: OceanBase Oracle - DDL of CREATE VIEW in ODC might better be CREATE OR REPLACE FORCE VIEW
ODC version
ODC 4.3.1
OB version
Server version: OceanBase 4.2.1.8 (r108010012024082314-17a07c4b17c6382a6fdb8b47fd1e525de5d4f018) (Built Aug 23 2024 14:25:22)
What happened?
DDL of CREATE VIEW in ODC is different from that of Oracle SQL Developer which shows CREATE OR REPLACE FORCE VIEW
What did you expect to happen?
Same as Oracle SQL Developer which shows CREATE OR REPLACE FORCE VIEW:
Same as Oracle sqlplus which shows CREATE OR REPLACE FORCE VIEW:
How can we reproduce it (as minimally and precisely as possible)?
Test with SQL
create or REPLACE view test_vw as
SELECT -- comment 1
1 c1
FROM dual
-- comment 2
union all
select
2 c1
from
dual;
Anything else we need to know?
No response