github.com/matrixorigin/matrixone@v1.2.0/test/distributed/cases/dml/show/show3.sql (about)

     1  set global enable_privilege_cache = off;
     2  --success
     3  create table t1 (a int, b int, c int) COMMENT='before cluster by' PARTITION BY hash(a+b) PARTITIONS 2  CLUSTER BY (a,b);
     4  --error
     5  create table t2 (a int, b int, c int) CLUSTER BY (a,b) PARTITION BY hash(a+b) PARTITIONS 2   COMMENT='after cluster by';
     6  --error
     7  create table t3 (a int, b int, c int) PARTITION BY hash(a+b) PARTITIONS 2  COMMENT='before cluster by' CLUSTER BY (a,b);
     8  set global enable_privilege_cache = on;