github.com/matrixorigin/matrixone@v1.2.0/test/distributed/cases/view/replace_view.test (about)

     1  drop table if exists t1;
     2  create table t1 (a int, b int);
     3  insert into t1 values (1, 11), (2, 22), (3, 33);
     4  insert into t2 values (1, "aa"), (2, "bb");
     5  create view v1 as select * from t1;
     6  select * from v1;
     7  select * from v1 where a > 1;
     8  create view v1 as select * from t1 where a > 1;
     9  select * from v1;
    10  create or replace view v1 as select * from t1 where a > 1;
    11  select * from v1;
    12  drop table t1;
    13  drop view v1;