github.com/matrixorigin/matrixone@v1.2.0/test/distributed/cases/optimizer/insert.result (about)

     1  create table t1(a int, b int unique key);
     2  explain insert into t1(a) values (1);
     3  QUERY PLAN
     4  Insert on insert.t1
     5    ->  PreInsert on insert.t1
     6          ->  Project
     7                ->  Project
     8                      ->  Values Scan "*VALUES*" 
     9  create table t2(a int, b int, c int, unique key(b, c));
    10  explain insert into t2(a) values (1);
    11  QUERY PLAN
    12  Insert on insert.t2
    13    ->  PreInsert on insert.t2
    14          ->  Project
    15                ->  Project
    16                      ->  Values Scan "*VALUES*" 
    17  create table t3(a int auto_increment, b int, unique key(a));
    18  insert into t3(b) values (1);
    19  insert into t3(a) values (1);
    20  Duplicate entry '1' for key '__mo_index_idx_col'
    21  create table t4(a int auto_increment, b int auto_increment, unique key(a, b));
    22  insert into t4(b) values (1);
    23  insert into t4(a) values (2);