[FEAT MERGE] change the semantics of tenant=all
This commit is contained in:
@ -1284,16 +1284,36 @@ question_mask_size: 0
|
||||
|--[0],[T_INT], str_value_=[], value=[2]
|
||||
|
||||
************** Case 71 ***************
|
||||
alter system suspend merge tenant = all;
|
||||
alter system suspend merge tenant = sys;
|
||||
question_mask_size: 0
|
||||
|
||||
|--[0],[T_STMT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_MERGE_CONTROL], str_value_=[], value=[0]
|
||||
|--[0],[T_INT], str_value_=[], value=[2]
|
||||
|--[1],[T_TENANT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_IDENT], str_value_=[all], value=[9223372036854775807]
|
||||
|--[0],[T_VARCHAR], str_value_=[sys], value=[9223372036854775807]
|
||||
|
||||
************** Case 72 ***************
|
||||
alter system suspend merge tenant = all_user;
|
||||
question_mask_size: 0
|
||||
|
||||
|--[0],[T_STMT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_MERGE_CONTROL], str_value_=[], value=[0]
|
||||
|--[0],[T_INT], str_value_=[], value=[2]
|
||||
|--[1],[T_TENANT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_VARCHAR], str_value_=[all_user], value=[9223372036854775807]
|
||||
|
||||
************** Case 73 ***************
|
||||
alter system suspend merge tenant = all_meta;
|
||||
question_mask_size: 0
|
||||
|
||||
|--[0],[T_STMT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_MERGE_CONTROL], str_value_=[], value=[0]
|
||||
|--[0],[T_INT], str_value_=[], value=[2]
|
||||
|--[1],[T_TENANT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_VARCHAR], str_value_=[all_meta], value=[9223372036854775807]
|
||||
|
||||
************** Case 74 ***************
|
||||
alter system resume merge;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1301,24 +1321,44 @@ question_mask_size: 0
|
||||
|--[0],[T_MERGE_CONTROL], str_value_=[], value=[0]
|
||||
|--[0],[T_INT], str_value_=[], value=[3]
|
||||
|
||||
************** Case 73 ***************
|
||||
alter system resume merge tenant = all;
|
||||
************** Case 75 ***************
|
||||
alter system resume merge tenant = sys;
|
||||
question_mask_size: 0
|
||||
|
||||
|--[0],[T_STMT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_MERGE_CONTROL], str_value_=[], value=[0]
|
||||
|--[0],[T_INT], str_value_=[], value=[3]
|
||||
|--[1],[T_TENANT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_IDENT], str_value_=[all], value=[9223372036854775807]
|
||||
|--[0],[T_VARCHAR], str_value_=[sys], value=[9223372036854775807]
|
||||
|
||||
************** Case 74 ***************
|
||||
************** Case 76 ***************
|
||||
alter system resume merge tenant = all_user;
|
||||
question_mask_size: 0
|
||||
|
||||
|--[0],[T_STMT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_MERGE_CONTROL], str_value_=[], value=[0]
|
||||
|--[0],[T_INT], str_value_=[], value=[3]
|
||||
|--[1],[T_TENANT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_VARCHAR], str_value_=[all_user], value=[9223372036854775807]
|
||||
|
||||
************** Case 77 ***************
|
||||
alter system resume merge tenant = all_meta;
|
||||
question_mask_size: 0
|
||||
|
||||
|--[0],[T_STMT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_MERGE_CONTROL], str_value_=[], value=[0]
|
||||
|--[0],[T_INT], str_value_=[], value=[3]
|
||||
|--[1],[T_TENANT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_VARCHAR], str_value_=[all_meta], value=[9223372036854775807]
|
||||
|
||||
************** Case 78 ***************
|
||||
alter system clear roottable;
|
||||
question_mask_size: 0
|
||||
|
||||
|--[0],[T_STMT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_CLEAR_ROOT_TABLE], str_value_=[], value=[0]
|
||||
|
||||
************** Case 75 ***************
|
||||
************** Case 79 ***************
|
||||
alter system clear roottable tenant = 'xxx';
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1327,7 +1367,7 @@ question_mask_size: 0
|
||||
|--[0],[T_TENANT_NAME], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_VARCHAR], str_value_=[xxx], value=[9223372036854775807]
|
||||
|
||||
************** Case 76 ***************
|
||||
************** Case 80 ***************
|
||||
alter system modify zone 'z1' set region 'r1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1338,9 +1378,9 @@ question_mask_size: 0
|
||||
|--[2],[T_LINK_NODE], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_REGION], str_value_=[r1], value=[9223372036854775807]
|
||||
|
||||
************** Case 77 ***************
|
||||
************** Case 81 ***************
|
||||
alter system start zone 'z1' region 'r1'
|
||||
************** Case 78 ***************
|
||||
************** Case 82 ***************
|
||||
alter system modify zone 'z1' IDC 'idc1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1351,7 +1391,7 @@ question_mask_size: 0
|
||||
|--[2],[T_LINK_NODE], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_IDC], str_value_=[idc1], value=[9223372036854775807]
|
||||
|
||||
************** Case 79 ***************
|
||||
************** Case 83 ***************
|
||||
alter system modify zone 'z1' set IDC 'idc1', region 'r1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1363,7 +1403,7 @@ question_mask_size: 0
|
||||
|--[0],[T_IDC], str_value_=[idc1], value=[9223372036854775807]
|
||||
|--[1],[T_REGION], str_value_=[r1], value=[9223372036854775807]
|
||||
|
||||
************** Case 80 ***************
|
||||
************** Case 84 ***************
|
||||
alter system add zone 'z1' idc 'idc1', region 'r1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1375,7 +1415,7 @@ question_mask_size: 0
|
||||
|--[0],[T_IDC], str_value_=[idc1], value=[9223372036854775807]
|
||||
|--[1],[T_REGION], str_value_=[r1], value=[9223372036854775807]
|
||||
|
||||
************** Case 81 ***************
|
||||
************** Case 85 ***************
|
||||
alter system add zone 'z1' idc 'idc1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1386,7 +1426,7 @@ question_mask_size: 0
|
||||
|--[2],[T_LINK_NODE], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_IDC], str_value_=[idc1], value=[9223372036854775807]
|
||||
|
||||
************** Case 82 ***************
|
||||
************** Case 86 ***************
|
||||
alter system modify zone 'z1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1395,11 +1435,11 @@ question_mask_size: 0
|
||||
|--[0],[T_INT], str_value_=[], value=[5]
|
||||
|--[1],[T_VARCHAR], str_value_=[z1], value=[9223372036854775807]
|
||||
|
||||
************** Case 83 ***************
|
||||
************** Case 87 ***************
|
||||
alter system start zone 'z1' IDC 'idc1'
|
||||
************** Case 84 ***************
|
||||
************** Case 88 ***************
|
||||
alter system start zone 'z1' zone_type 'ReadWrite'
|
||||
************** Case 85 ***************
|
||||
************** Case 89 ***************
|
||||
alter system add zone 'z1' zone_type 'ReadWrite', idc 'idc1', region 'r1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1412,7 +1452,7 @@ question_mask_size: 0
|
||||
|--[1],[T_IDC], str_value_=[idc1], value=[9223372036854775807]
|
||||
|--[2],[T_REGION], str_value_=[r1], value=[9223372036854775807]
|
||||
|
||||
************** Case 86 ***************
|
||||
************** Case 90 ***************
|
||||
alter system add zone 'z1' zone_type 'ReadWrite', idc 'idc1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1424,7 +1464,7 @@ question_mask_size: 0
|
||||
|--[0],[T_ZONE_TYPE], str_value_=[ReadWrite], value=[9223372036854775807]
|
||||
|--[1],[T_IDC], str_value_=[idc1], value=[9223372036854775807]
|
||||
|
||||
************** Case 87 ***************
|
||||
************** Case 91 ***************
|
||||
alter system add zone 'z1' zone_type 'ReadWrite', region 'r1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1436,7 +1476,7 @@ question_mask_size: 0
|
||||
|--[0],[T_ZONE_TYPE], str_value_=[ReadWrite], value=[9223372036854775807]
|
||||
|--[1],[T_REGION], str_value_=[r1], value=[9223372036854775807]
|
||||
|
||||
************** Case 88 ***************
|
||||
************** Case 92 ***************
|
||||
alter system add zone 'z1' zone_type 'ReadWrite'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1447,7 +1487,7 @@ question_mask_size: 0
|
||||
|--[2],[T_LINK_NODE], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_ZONE_TYPE], str_value_=[ReadWrite], value=[9223372036854775807]
|
||||
|
||||
************** Case 89 ***************
|
||||
************** Case 93 ***************
|
||||
alter system modify zone 'z1' zone_type 'ReadWrite', idc 'idc1', region 'r1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1460,7 +1500,7 @@ question_mask_size: 0
|
||||
|--[1],[T_IDC], str_value_=[idc1], value=[9223372036854775807]
|
||||
|--[2],[T_REGION], str_value_=[r1], value=[9223372036854775807]
|
||||
|
||||
************** Case 90 ***************
|
||||
************** Case 94 ***************
|
||||
alter system modify zone 'z1' zone_type 'ReadWrite', idc 'idc1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1472,7 +1512,7 @@ question_mask_size: 0
|
||||
|--[0],[T_ZONE_TYPE], str_value_=[ReadWrite], value=[9223372036854775807]
|
||||
|--[1],[T_IDC], str_value_=[idc1], value=[9223372036854775807]
|
||||
|
||||
************** Case 91 ***************
|
||||
************** Case 95 ***************
|
||||
alter system modify zone 'z1' zone_type 'ReadWrite', region 'r1'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1484,7 +1524,7 @@ question_mask_size: 0
|
||||
|--[0],[T_ZONE_TYPE], str_value_=[ReadWrite], value=[9223372036854775807]
|
||||
|--[1],[T_REGION], str_value_=[r1], value=[9223372036854775807]
|
||||
|
||||
************** Case 92 ***************
|
||||
************** Case 96 ***************
|
||||
alter system modify zone 'z1' zone_type 'ReadWrite'
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1495,7 +1535,7 @@ question_mask_size: 0
|
||||
|--[2],[T_LINK_NODE], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_ZONE_TYPE], str_value_=[ReadWrite], value=[9223372036854775807]
|
||||
|
||||
************** Case 93 ***************
|
||||
************** Case 97 ***************
|
||||
select * from t1 where c1>ANY(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1528,7 +1568,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 94 ***************
|
||||
************** Case 98 ***************
|
||||
select * from t1 where c1>SOME(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1561,7 +1601,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 95 ***************
|
||||
************** Case 99 ***************
|
||||
select * from t1 where c1>ALL(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1594,7 +1634,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 96 ***************
|
||||
************** Case 100 ***************
|
||||
select * from t1 where c1>(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1626,7 +1666,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 97 ***************
|
||||
************** Case 101 ***************
|
||||
select * from t1 where c1<ANY(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1659,7 +1699,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 98 ***************
|
||||
************** Case 102 ***************
|
||||
select * from t1 where c1<SOME(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1692,7 +1732,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 99 ***************
|
||||
************** Case 103 ***************
|
||||
select * from t1 where c1<ALL(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1725,7 +1765,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 100 ***************
|
||||
************** Case 104 ***************
|
||||
select * from t1 where c1<(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1757,7 +1797,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 101 ***************
|
||||
************** Case 105 ***************
|
||||
select * from t1 where c1>=ANY(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1790,7 +1830,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 102 ***************
|
||||
************** Case 106 ***************
|
||||
select * from t1 where c1>=SOME(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1823,7 +1863,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 103 ***************
|
||||
************** Case 107 ***************
|
||||
select * from t1 where c1>=ALL(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1856,7 +1896,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 104 ***************
|
||||
************** Case 108 ***************
|
||||
select * from t1 where c1>=(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1888,7 +1928,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 105 ***************
|
||||
************** Case 109 ***************
|
||||
select * from t1 where c1<=ANY(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1921,7 +1961,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 106 ***************
|
||||
************** Case 110 ***************
|
||||
select * from t1 where c1<=SOME(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1954,7 +1994,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 107 ***************
|
||||
************** Case 111 ***************
|
||||
select * from t1 where c1<=ALL(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -1987,7 +2027,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 108 ***************
|
||||
************** Case 112 ***************
|
||||
select * from t1 where c1<=(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2019,7 +2059,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 109 ***************
|
||||
************** Case 113 ***************
|
||||
select * from t1 where c1=ANY(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2052,7 +2092,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 110 ***************
|
||||
************** Case 114 ***************
|
||||
select * from t1 where c1=SOME(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2085,7 +2125,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 111 ***************
|
||||
************** Case 115 ***************
|
||||
select * from t1 where c1=ALL(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2118,7 +2158,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 112 ***************
|
||||
************** Case 116 ***************
|
||||
select * from t1 where c1=(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2150,7 +2190,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 113 ***************
|
||||
************** Case 117 ***************
|
||||
select * from t1 where c1!=ANY(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2183,7 +2223,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 114 ***************
|
||||
************** Case 118 ***************
|
||||
select * from t1 where c1!=SOME(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2216,7 +2256,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 115 ***************
|
||||
************** Case 119 ***************
|
||||
select * from t1 where c1!=ALL(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2249,7 +2289,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 116 ***************
|
||||
************** Case 120 ***************
|
||||
select * from t1 where c1!=(select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2281,7 +2321,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 117 ***************
|
||||
************** Case 121 ***************
|
||||
select * from t1 where c1 in (select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2313,7 +2353,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 118 ***************
|
||||
************** Case 122 ***************
|
||||
select * from t1 where c1 not in (select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2345,7 +2385,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 119 ***************
|
||||
************** Case 123 ***************
|
||||
select * from t1 where exists (select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2375,7 +2415,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 120 ***************
|
||||
************** Case 124 ***************
|
||||
select * from t1 where not exists (select c1 from t2 where c2>1);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2406,7 +2446,7 @@ question_mask_size: 0
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_INT], str_value_=[1], value=[1]
|
||||
|
||||
************** Case 121 ***************
|
||||
************** Case 125 ***************
|
||||
select * from t1 where (select c1 from t1) like (select c2 from t2);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2440,7 +2480,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t2], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t2], value=[9223372036854775807]
|
||||
|
||||
************** Case 122 ***************
|
||||
************** Case 126 ***************
|
||||
select * from t1 where (select c1 from t1) not like (select c2 from t2);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2474,7 +2514,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t2], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t2], value=[9223372036854775807]
|
||||
|
||||
************** Case 123 ***************
|
||||
************** Case 127 ***************
|
||||
select * from t1 where (c1) in (select c1 from t2);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2501,7 +2541,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t2], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t2], value=[9223372036854775807]
|
||||
|
||||
************** Case 124 ***************
|
||||
************** Case 128 ***************
|
||||
select * from t1 where (c1, c2) in (select c1, c2 from t2);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2534,7 +2574,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t2], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t2], value=[9223372036854775807]
|
||||
|
||||
************** Case 125 ***************
|
||||
************** Case 129 ***************
|
||||
select * from t1 where ROW(c1, c2) in (select c1, c2 from t2);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2567,7 +2607,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t2], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t2], value=[9223372036854775807]
|
||||
|
||||
************** Case 126 ***************
|
||||
************** Case 130 ***************
|
||||
set names latin1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2575,7 +2615,7 @@ question_mask_size: 0
|
||||
|--[0],[T_SET_NAMES], str_value_=[], value=[0]
|
||||
|--[0],[T_CHAR_CHARSET], str_value_=[latin1], value=[9223372036854775807]
|
||||
|
||||
************** Case 127 ***************
|
||||
************** Case 131 ***************
|
||||
set names 'latin1';
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2583,7 +2623,7 @@ question_mask_size: 0
|
||||
|--[0],[T_SET_NAMES], str_value_=[], value=[0]
|
||||
|--[0],[T_VARCHAR], str_value_=[latin1], value=[9223372036854775807]
|
||||
|
||||
************** Case 128 ***************
|
||||
************** Case 132 ***************
|
||||
set names utf8 collate 'utf8_general_ci';
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2592,7 +2632,7 @@ question_mask_size: 0
|
||||
|--[0],[T_CHAR_CHARSET], str_value_=[utf8], value=[9223372036854775807]
|
||||
|--[1],[T_COLLATION], str_value_=[utf8_general_ci], value=[9223372036854775807]
|
||||
|
||||
************** Case 129 ***************
|
||||
************** Case 133 ***************
|
||||
set names utf8 collate utf8_general_ci;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2601,7 +2641,7 @@ question_mask_size: 0
|
||||
|--[0],[T_CHAR_CHARSET], str_value_=[utf8], value=[9223372036854775807]
|
||||
|--[1],[T_COLLATION], str_value_=[utf8_general_ci], value=[9223372036854775807]
|
||||
|
||||
************** Case 130 ***************
|
||||
************** Case 134 ***************
|
||||
set character set utf8;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2609,7 +2649,7 @@ question_mask_size: 0
|
||||
|--[0],[T_SET_CHARSET], str_value_=[], value=[0]
|
||||
|--[0],[T_CHAR_CHARSET], str_value_=[utf8], value=[9223372036854775807]
|
||||
|
||||
************** Case 131 ***************
|
||||
************** Case 135 ***************
|
||||
set character set 'utf8';
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2617,7 +2657,7 @@ question_mask_size: 0
|
||||
|--[0],[T_SET_CHARSET], str_value_=[], value=[0]
|
||||
|--[0],[T_VARCHAR], str_value_=[utf8], value=[9223372036854775807]
|
||||
|
||||
************** Case 132 ***************
|
||||
************** Case 136 ***************
|
||||
set charset utf8;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2625,7 +2665,7 @@ question_mask_size: 0
|
||||
|--[0],[T_SET_CHARSET], str_value_=[], value=[0]
|
||||
|--[0],[T_CHAR_CHARSET], str_value_=[utf8], value=[9223372036854775807]
|
||||
|
||||
************** Case 133 ***************
|
||||
************** Case 137 ***************
|
||||
select _utf8 'abc', _utf8mb4 'def' collate utf8mb4_general_ci from t1 where c1 collate utf8_bin = 'xyz' collate utf8_bin;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2663,7 +2703,7 @@ question_mask_size: 0
|
||||
|--[1],[T_VARCHAR], str_value_=[xyz], value=[9223372036854775807]
|
||||
|--[1],[T_COLLATION], str_value_=[utf8_bin], value=[9223372036854775807]
|
||||
|
||||
************** Case 134 ***************
|
||||
************** Case 138 ***************
|
||||
select * from t1 where c1=?;
|
||||
question_mask_size: 1
|
||||
|
||||
@ -2682,7 +2722,7 @@ question_mask_size: 1
|
||||
|--[2],[T_IDENT], str_value_=[c1], value=[9223372036854775807]
|
||||
|--[1],[T_QUESTIONMARK], str_value_=[], value=[0]
|
||||
|
||||
************** Case 135 ***************
|
||||
************** Case 139 ***************
|
||||
select * from t1 where c1>?;
|
||||
question_mask_size: 1
|
||||
|
||||
@ -2701,7 +2741,7 @@ question_mask_size: 1
|
||||
|--[2],[T_IDENT], str_value_=[c1], value=[9223372036854775807]
|
||||
|--[1],[T_QUESTIONMARK], str_value_=[], value=[0]
|
||||
|
||||
************** Case 136 ***************
|
||||
************** Case 140 ***************
|
||||
select * from t1 where (select c1 from t1 where c1 = ?) not like (select c2 from t2 where c2=?);
|
||||
question_mask_size: 2
|
||||
|
||||
@ -2745,7 +2785,7 @@ question_mask_size: 2
|
||||
|--[2],[T_IDENT], str_value_=[c2], value=[9223372036854775807]
|
||||
|--[1],[T_QUESTIONMARK], str_value_=[], value=[1]
|
||||
|
||||
************** Case 137 ***************
|
||||
************** Case 141 ***************
|
||||
select * from t1 join t2;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2764,7 +2804,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t2], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t2], value=[9223372036854775807]
|
||||
|
||||
************** Case 138 ***************
|
||||
************** Case 142 ***************
|
||||
select * from t1 inner join t2;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2783,7 +2823,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t2], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t2], value=[9223372036854775807]
|
||||
|
||||
************** Case 139 ***************
|
||||
************** Case 143 ***************
|
||||
select * from t1 cross join t2;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2802,7 +2842,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t2], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t2], value=[9223372036854775807]
|
||||
|
||||
************** Case 140 ***************
|
||||
************** Case 144 ***************
|
||||
select * from t1 cross join t2 join t3;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2826,7 +2866,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t3], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t3], value=[9223372036854775807]
|
||||
|
||||
************** Case 141 ***************
|
||||
************** Case 145 ***************
|
||||
select "1234";
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2837,7 +2877,7 @@ question_mask_size: 0
|
||||
|--[0],[T_VARCHAR], str_value_=[1234], value=[9223372036854775807]
|
||||
|--[1],[T_VARCHAR], str_value_=[1234], value=[9223372036854775807]
|
||||
|
||||
************** Case 142 ***************
|
||||
************** Case 146 ***************
|
||||
select '1234';
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2848,7 +2888,7 @@ question_mask_size: 0
|
||||
|--[0],[T_VARCHAR], str_value_=[1234], value=[9223372036854775807]
|
||||
|--[1],[T_VARCHAR], str_value_=[1234], value=[9223372036854775807]
|
||||
|
||||
************** Case 143 ***************
|
||||
************** Case 147 ***************
|
||||
create table test(c1 varchar(3) binary charset utf8mb4);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2864,7 +2904,7 @@ question_mask_size: 0
|
||||
|--[0],[T_CHARSET], str_value_=[utf8mb4], value=[9223372036854775807]
|
||||
|--[2],[T_BINARY], str_value_=[], value=[1]
|
||||
|
||||
************** Case 144 ***************
|
||||
************** Case 148 ***************
|
||||
replace into test values(1,2);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2881,7 +2921,7 @@ question_mask_size: 0
|
||||
|--[1],[T_INT], str_value_=[2], value=[2]
|
||||
|--[1],[T_REPLACE], str_value_=[], value=[9223372036854775807]
|
||||
|
||||
************** Case 145 ***************
|
||||
************** Case 149 ***************
|
||||
replace ignore into test values(1,2);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2899,7 +2939,7 @@ question_mask_size: 0
|
||||
|--[1],[T_REPLACE], str_value_=[], value=[9223372036854775807]
|
||||
|--[3],[T_IGNORE], str_value_=[], value=[9223372036854775807]
|
||||
|
||||
************** Case 146 ***************
|
||||
************** Case 150 ***************
|
||||
insert ignore into test values(1,2);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2917,7 +2957,7 @@ question_mask_size: 0
|
||||
|--[1],[T_INSERT], str_value_=[], value=[9223372036854775807]
|
||||
|--[3],[T_IGNORE], str_value_=[], value=[9223372036854775807]
|
||||
|
||||
************** Case 147 ***************
|
||||
************** Case 151 ***************
|
||||
insert ignore into test values(1,2) on duplicate key update c2 = c1 + 1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2943,7 +2983,7 @@ question_mask_size: 0
|
||||
|--[1],[T_INSERT], str_value_=[], value=[9223372036854775807]
|
||||
|--[3],[T_IGNORE], str_value_=[], value=[9223372036854775807]
|
||||
|
||||
************** Case 148 ***************
|
||||
************** Case 152 ***************
|
||||
create outline out_name on select * from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2961,7 +3001,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t1], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t1], value=[9223372036854775807]
|
||||
|
||||
************** Case 149 ***************
|
||||
************** Case 153 ***************
|
||||
create or replace outline out_name on select * from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2980,7 +3020,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t1], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t1], value=[9223372036854775807]
|
||||
|
||||
************** Case 150 ***************
|
||||
************** Case 154 ***************
|
||||
create outline out_name on select * from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -2998,7 +3038,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t1], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t1], value=[9223372036854775807]
|
||||
|
||||
************** Case 151 ***************
|
||||
************** Case 155 ***************
|
||||
create outline out_name on select /*+ssssss*/* from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3016,7 +3056,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t1], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t1], value=[9223372036854775807]
|
||||
|
||||
************** Case 152 ***************
|
||||
************** Case 156 ***************
|
||||
create outline out_name on select /*+ssssss*/* from t1 to select /*+ssssss*/* from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3042,7 +3082,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t1], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t1], value=[9223372036854775807]
|
||||
|
||||
************** Case 153 ***************
|
||||
************** Case 157 ***************
|
||||
create outline out_name on select /*+ssssss*/* from t1 to select * from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3068,7 +3108,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t1], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t1], value=[9223372036854775807]
|
||||
|
||||
************** Case 154 ***************
|
||||
************** Case 158 ***************
|
||||
create outline out_name on insert /*+ssssss*/ into t1 values(1, 2) to insert /*+ssssss*/ into t1 values(1, 2);
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3100,7 +3140,7 @@ question_mask_size: 0
|
||||
|--[1],[T_INT], str_value_=[2], value=[2]
|
||||
|--[1],[T_INSERT], str_value_=[], value=[9223372036854775807]
|
||||
|
||||
************** Case 155 ***************
|
||||
************** Case 159 ***************
|
||||
drop outline out_name;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3109,7 +3149,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[out_name], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[out_name], value=[9223372036854775807]
|
||||
|
||||
************** Case 156 ***************
|
||||
************** Case 160 ***************
|
||||
drop outline db_name.out_name;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3119,7 +3159,7 @@ question_mask_size: 0
|
||||
|--[0],[T_IDENT], str_value_=[db_name], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[out_name], value=[9223372036854775807]
|
||||
|
||||
************** Case 157 ***************
|
||||
************** Case 161 ***************
|
||||
create tenant tt1 replica_num = 1, primary_zone = 'zone1', resource_pool_list = ('zone1') set ob_tcp_invited_nodes='%';
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3139,7 +3179,7 @@ question_mask_size: 0
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|
||||
************** Case 158 ***************
|
||||
************** Case 162 ***************
|
||||
create tenant if not exists tt1 replica_num = 1, primary_zone = 'zone1', resource_pool_list = ('zone1') set ob_tcp_invited_nodes='%';
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3160,7 +3200,7 @@ question_mask_size: 0
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|
||||
************** Case 159 ***************
|
||||
************** Case 163 ***************
|
||||
create tenant tt1 replica_num = 1, primary_zone = 'zone1', resource_pool_list = ('zone1'), locality = 'auto_locality_strategy' set ob_tcp_invited_nodes='%';
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3182,7 +3222,7 @@ question_mask_size: 0
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|
||||
************** Case 160 ***************
|
||||
************** Case 164 ***************
|
||||
create tenant if not exists tt1 replica_num = 1, primary_zone = 'zone1', resource_pool_list = ('zone1'), locality = 'auto_locality_strategy' set ob_tcp_invited_nodes='%';
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3205,7 +3245,7 @@ question_mask_size: 0
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|
||||
************** Case 161 ***************
|
||||
************** Case 165 ***************
|
||||
create tenant tt1 replica_num = 1, primary_zone = 'zone1', resource_pool_list = ('zone1'), logonly_replica_num = 1 set ob_tcp_invited_nodes='%';
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3227,7 +3267,7 @@ question_mask_size: 0
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|
||||
************** Case 162 ***************
|
||||
************** Case 166 ***************
|
||||
create tenant if not exists tt1 replica_num = 1, primary_zone = 'zone1', resource_pool_list = ('zone1'), logonly_replica_num = 1 set ob_tcp_invited_nodes='%';
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3250,7 +3290,7 @@ question_mask_size: 0
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|--[1],[T_VARCHAR], str_value_=[%], value=[9223372036854775807]
|
||||
|
||||
************** Case 163 ***************
|
||||
************** Case 167 ***************
|
||||
select /*+max_concurrent(-10)*/* from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3265,7 +3305,7 @@ question_mask_size: 0
|
||||
|--[1],[T_IDENT], str_value_=[t1], value=[9223372036854775807]
|
||||
|--[17],[T_HINT_OPTION_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|
||||
************** Case 164 ***************
|
||||
************** Case 168 ***************
|
||||
select /*+max_concurrent(10)*/* from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3282,32 +3322,32 @@ question_mask_size: 0
|
||||
|--[0],[T_MAX_CONCURRENT], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_INT], str_value_=[10], value=[10]
|
||||
|
||||
************** Case 165 ***************
|
||||
************** Case 169 ***************
|
||||
alter system refresh time_zone_info;
|
||||
question_mask_size: 0
|
||||
|
||||
|--[0],[T_STMT_LIST], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_REFRESH_TIME_ZONE_INFO], str_value_=[], value=[0]
|
||||
|
||||
************** Case 166 ***************
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when matched then update set t1.sales = t2.sales when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales);
|
||||
************** Case 167 ***************
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when matched then update set t1.sales = t2.sales where t2.id!= t1.id when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales);
|
||||
************** Case 168 ***************
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when matched then update set t1.sales = t2.sales where t1.id < 3 delete where t1.id < 5 when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales);
|
||||
************** Case 169 ***************
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when matched then update set t1.sales = t2.sales delete where t1.sales =2 when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales);
|
||||
************** Case 170 ***************
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales) where t2.id > 0;
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when matched then update set t1.sales = t2.sales when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales);
|
||||
************** Case 171 ***************
|
||||
merge into targetTable t1 using sourceTable t2 on (1 = 2) when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales) where t2.id > 0;
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when matched then update set t1.sales = t2.sales where t2.id!= t1.id when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales);
|
||||
************** Case 172 ***************
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when matched then update set t1.sales = t2.sales;
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when matched then update set t1.sales = t2.sales where t1.id < 3 delete where t1.id < 5 when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales);
|
||||
************** Case 173 ***************
|
||||
merge into targetTable using sourceTable on (targetTable.id = sourceTable.id) when matched then update set targetTable.sales = sourceTable.sales;
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when matched then update set t1.sales = t2.sales delete where t1.sales =2 when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales);
|
||||
************** Case 174 ***************
|
||||
merge into targetTable using (select * from t1 ) sourceTable on (targetTable.id = sourceTable.id) when matched then update set targetTable.sales = sourceTable.sales;
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales) where t2.id > 0;
|
||||
************** Case 175 ***************
|
||||
merge into targetTable t1 using sourceTable t2 on (1 = 2) when not matched then insert(t1.id, t1.sales) values(t2.id, t2.sales) where t2.id > 0;
|
||||
************** Case 176 ***************
|
||||
merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when matched then update set t1.sales = t2.sales;
|
||||
************** Case 177 ***************
|
||||
merge into targetTable using sourceTable on (targetTable.id = sourceTable.id) when matched then update set targetTable.sales = sourceTable.sales;
|
||||
************** Case 178 ***************
|
||||
merge into targetTable using (select * from t1 ) sourceTable on (targetTable.id = sourceTable.id) when matched then update set targetTable.sales = sourceTable.sales;
|
||||
************** Case 179 ***************
|
||||
select unique(c1), c2 from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3327,7 +3367,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t1], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t1], value=[9223372036854775807]
|
||||
|
||||
************** Case 176 ***************
|
||||
************** Case 180 ***************
|
||||
select unique(c1+1), c2 from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3349,7 +3389,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t1], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t1], value=[9223372036854775807]
|
||||
|
||||
************** Case 177 ***************
|
||||
************** Case 181 ***************
|
||||
select distinct unique( max(c1)), c2 from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3371,7 +3411,7 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t1], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t1], value=[9223372036854775807]
|
||||
|
||||
************** Case 178 ***************
|
||||
************** Case 182 ***************
|
||||
select unique distinct( max(c1)), c2 from t1;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3393,9 +3433,9 @@ question_mask_size: 0
|
||||
|--[0],[T_RELATION_FACTOR], str_value_=[t1], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t1], value=[9223372036854775807]
|
||||
|
||||
************** Case 179 ***************
|
||||
************** Case 183 ***************
|
||||
select unique(*) from t1;
|
||||
************** Case 180 ***************
|
||||
************** Case 184 ***************
|
||||
alter tablegroup tg2 add table t1,t2;
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3408,7 +3448,7 @@ question_mask_size: 0
|
||||
|--[1],[T_RELATION_FACTOR], str_value_=[t2], value=[9223372036854775807]
|
||||
|--[1],[T_IDENT], str_value_=[t2], value=[9223372036854775807]
|
||||
|
||||
************** Case 181 ***************
|
||||
************** Case 185 ***************
|
||||
insert into t1 values(X'');
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3424,7 +3464,7 @@ question_mask_size: 0
|
||||
|--[0],[T_HEX_STRING], str_value_=[], value=[9223372036854775807]
|
||||
|--[1],[T_INSERT], str_value_=[], value=[9223372036854775807]
|
||||
|
||||
************** Case 182 ***************
|
||||
************** Case 186 ***************
|
||||
create table t1(`thedate` date NOT NULL COMMENT '日期');
|
||||
question_mask_size: 0
|
||||
|
||||
@ -3442,7 +3482,7 @@ question_mask_size: 0
|
||||
|--[1],[T_COMMENT], str_value_=[], value=[9223372036854775807]
|
||||
|--[0],[T_VARCHAR], str_value_=[日期], value=[9223372036854775807]
|
||||
|
||||
************** Case 183 ***************
|
||||
************** Case 187 ***************
|
||||
alter system bootstrap REGION 'sys_region' ZONE 'zone1' SERVER '10.101.74.122:41425';
|
||||
question_mask_size: 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user