************** Case 1 *************** create table t1(c1 bit); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { "type":"T_TABLE_ELEMENT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_BIT", "int_val":9223372036854710273, "str_len":0, "str_val":"" }, { }, { } ] } ] }, { }, { }, { } ] } ] } ************** Case 2 *************** create table t1(c1 bit(10)); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { "type":"T_TABLE_ELEMENT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_BIT", "int_val":9223372036854710282, "str_len":0, "str_val":"" }, { }, { } ] } ] }, { }, { }, { } ] } ] } ************** Case 3 *************** create table s002 (c1 int primary key, c2 varchar(50), unique index idx(c2(20))) question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":4, "str_val":"s002", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"s002" } ] }, { "type":"T_TABLE_ELEMENT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { "type":"T_COLUMN_ATTRIBUTES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CONSTR_PRIMARY_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] }, { } ] }, { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_VARCHAR", "int_val":50, "str_len":0, "str_val":"", "children": [ { }, { }, { } ] }, { }, { } ] }, { "type":"T_INDEX", "int_val":1, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"idx" }, { "type":"T_INDEX_COLUMN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_COLUMN_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" }, { "type":"T_INT", "int_val":20, "str_len":2, "str_val":"20" }, { "type":"T_SORT_ASC", "int_val":2, "str_len":0, "str_val":"" }, { } ] } ] }, { }, { } ] } ] }, { }, { }, { } ] } ] } ************** Case 4 *************** create table s001 (c1 int primary key, c2 varchar(50), unique key idx(c2(20))) question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":4, "str_val":"s001", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"s001" } ] }, { "type":"T_TABLE_ELEMENT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { "type":"T_COLUMN_ATTRIBUTES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CONSTR_PRIMARY_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] }, { } ] }, { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_VARCHAR", "int_val":50, "str_len":0, "str_val":"", "children": [ { }, { }, { } ] }, { }, { } ] }, { "type":"T_INDEX", "int_val":1, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"idx" }, { "type":"T_INDEX_COLUMN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_COLUMN_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" }, { "type":"T_INT", "int_val":20, "str_len":2, "str_val":"20" }, { "type":"T_SORT_ASC", "int_val":2, "str_len":0, "str_val":"" }, { } ] } ] }, { }, { } ] } ] }, { }, { }, { } ] } ] } ************** Case 5 *************** create table s001 (c1 int primary key, c2 varchar(50), unique idx(c2(20))) question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":4, "str_val":"s001", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"s001" } ] }, { "type":"T_TABLE_ELEMENT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { "type":"T_COLUMN_ATTRIBUTES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CONSTR_PRIMARY_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] }, { } ] }, { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_VARCHAR", "int_val":50, "str_len":0, "str_val":"", "children": [ { }, { }, { } ] }, { }, { } ] }, { "type":"T_INDEX", "int_val":1, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"idx" }, { "type":"T_INDEX_COLUMN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_COLUMN_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" }, { "type":"T_INT", "int_val":20, "str_len":2, "str_val":"20" }, { "type":"T_SORT_ASC", "int_val":2, "str_len":0, "str_val":"" }, { } ] } ] }, { }, { } ] } ] }, { }, { }, { } ] } ] } ************** Case 6 *************** use rongxuan; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_USE_DATABASE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" } ] } ] } ************** Case 7 *************** start transaction read only; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_BEGIN", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":2, "str_len":0, "str_val":"" } ] } ] } ************** Case 8 *************** start transaction read write; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_BEGIN", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":4, "str_len":0, "str_val":"" } ] } ] } ************** Case 9 *************** start transaction with consistent snapshot, read only; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_BEGIN", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":3, "str_len":0, "str_val":"" } ] } ] } ************** Case 10 *************** start transaction read write, with consistent snapshot; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_BEGIN", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":5, "str_len":0, "str_val":"" } ] } ] } ************** Case 11 *************** alter user 'zdy' account lock; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_LOCK_USER", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_USERS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_USER_WITH_HOST_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"zdy" }, { } ] } ] }, { "type":"T_BOOL", "int_val":1, "str_len":0, "str_val":"" } ] } ] } ************** Case 12 *************** alter user 'zdy' account unlock; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_LOCK_USER", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_USERS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_USER_WITH_HOST_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"zdy" }, { } ] } ] }, { "type":"T_BOOL", "int_val":0, "str_len":0, "str_val":"" } ] } ] } ************** Case 13 *************** select d.t1.c1, sum(t1.c2) from d.t1 where d.t1.c1 > 0 and c2 + d.t1.c1 = 100 group by d.t1.c2 order by t.d1.c1 desc limit 0, 1 question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":7, "str_val":"d.t1.c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":10, "str_val":"sum(t1.c2)", "children": [ { "type":"T_FUN_SUM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_AND", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" } ] }, { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] } ] }, { } ] }, { }, { }, { "type":"T_GROUPBY_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_WITH_ROLLUP_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_SORT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { } ] } ] } ] } ] }, { }, { }, { }, { }, { }, { "type":"T_ORDER_BY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"t" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"d1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SORT_DESC", "int_val":2, "str_len":0, "str_val":"" } ] } ] }, { } ] }, { "type":"T_COMMA_LIMIT_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" }, { "type":"T_LIMIT_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 14 *************** select c1, sum(d.t1.c2) from t1 where t1.c1 > 0 and c2 + t1.c1 = 100 group by t1.c2 order by t1.c1 desc limit 0, 1 question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":12, "str_val":"sum(d.t1.c2)", "children": [ { "type":"T_FUN_SUM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_AND", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" } ] }, { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] } ] }, { } ] }, { }, { }, { "type":"T_GROUPBY_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_WITH_ROLLUP_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_SORT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { } ] } ] } ] } ] }, { }, { }, { }, { }, { }, { "type":"T_ORDER_BY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SORT_DESC", "int_val":2, "str_len":0, "str_val":"" } ] } ] }, { } ] }, { "type":"T_COMMA_LIMIT_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" }, { "type":"T_LIMIT_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 15 *************** select t1.c1, sum(c2) from t1 where c1 > 0 and c2 + c1 = 100 group by c2 order by c1 desc limit 0, 1 question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":5, "str_val":"t1.c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":7, "str_val":"sum(c2)", "children": [ { "type":"T_FUN_SUM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_AND", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" } ] }, { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] } ] }, { } ] }, { }, { }, { "type":"T_GROUPBY_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_WITH_ROLLUP_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_SORT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { } ] } ] } ] } ] }, { }, { }, { }, { }, { }, { "type":"T_ORDER_BY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SORT_DESC", "int_val":2, "str_len":0, "str_val":"" } ] } ] }, { } ] }, { "type":"T_COMMA_LIMIT_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" }, { "type":"T_LIMIT_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 16 *************** insert into t1 values(1, 2) question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 17 *************** insert into t1.t1 values(1, 2) question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 18 *************** insert into t1(c1) values(1), (2) question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { } ] }, { "type":"T_COLUMN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 19 *************** insert into t1(t1.c1) values(1), (2) question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { } ] }, { "type":"T_COLUMN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 20 *************** insert into d.t1(d.t1.c1) values(1), (2) question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { } ] }, { "type":"T_COLUMN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 21 *************** update t1 set d.t1.c2=t1.c1+1 where d.t1.c1 > 1 order by d.t1.c1 desc limit 0, 10 question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_UPDATE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_TABLE_REFERENCES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_ASSIGN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ASSIGN_ITEM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { "type":"T_ORDER_BY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SORT_DESC", "int_val":2, "str_len":0, "str_val":"" } ] } ] }, { } ] }, { "type":"T_COMMA_LIMIT_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" }, { "type":"T_LIMIT_INT", "int_val":10, "str_len":2, "str_val":"10" } ] }, { }, { }, { }, { } ] } ] } ************** Case 22 *************** update d.t1 set t1.c2=d.t1c1+1 where t1.c1 > 1 order by c1 desc limit 0, 10 question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_UPDATE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_TABLE_REFERENCES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_ASSIGN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ASSIGN_ITEM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":4, "str_val":"t1c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"t1c1" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { "type":"T_ORDER_BY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SORT_DESC", "int_val":2, "str_len":0, "str_val":"" } ] } ] }, { } ] }, { "type":"T_COMMA_LIMIT_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" }, { "type":"T_LIMIT_INT", "int_val":10, "str_len":2, "str_val":"10" } ] }, { }, { }, { }, { } ] } ] } ************** Case 23 *************** delete from d.t1 where d.t1.c2 > 10 order by c1 limit 0, 1 question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DELETE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_DELETE_TABLE_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_TABLE_REFERENCES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":10, "str_len":2, "str_val":"10" } ] }, { } ] }, { "type":"T_ORDER_BY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SORT_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SORT_ASC", "int_val":2, "str_len":0, "str_val":"" } ] } ] }, { } ] }, { "type":"T_COMMA_LIMIT_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" }, { "type":"T_LIMIT_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { }, { }, { } ] } ] } ************** Case 24 *************** select t1.c1, t2.c1 from d.t1 join d.t2 on d.t1.c1=t2.c1 where t1.c1>0; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":5, "str_val":"t1.c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":5, "str_val":"t2.c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOINED_TABLE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOIN_INNER", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] }, { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 25 *************** select d.t1.c1, t2.c1 from d.t1 join t2 on t1.c1=t2.c1 where t1.c1>0; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":7, "str_val":"d.t1.c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":5, "str_val":"t2.c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOINED_TABLE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOIN_INNER", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] }, { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 26 *************** select d.t1.c1, t2.c1 from d.t1 join t2 on c1=c1 where t1.c1>0; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":7, "str_val":"d.t1.c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":5, "str_val":"t2.c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOINED_TABLE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOIN_INNER", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] }, { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT", "int_val":0, "str_len":1, "str_val":"0" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 27 *************** insert into t1 value (1, 2), (3, 4) on duplicate key update d.t.c1 = t.c2 + 1, c2 = c2 + 3; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] }, { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { "type":"T_INT", "int_val":4, "str_len":1, "str_val":"4" } ] } ] }, { "type":"T_ASSIGN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ASSIGN_ITEM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"t" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"t" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] } ] }, { "type":"T_ASSIGN_ITEM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" } ] } ] } ] } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 28 *************** insert into d.t1 value (1, 2), (3, 4) on duplicate key update t.c1 = t.c2 + 1, d.t.c2 = t.c2 + 3; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] }, { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { "type":"T_INT", "int_val":4, "str_len":1, "str_val":"4" } ] } ] }, { "type":"T_ASSIGN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ASSIGN_ITEM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"t" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"t" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] } ] }, { "type":"T_ASSIGN_ITEM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"t" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"t" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" } ] } ] } ] } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 29 *************** create table rongxuan(c int primary key, c2 int) question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" } ] }, { "type":"T_TABLE_ELEMENT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":1, "str_val":"c", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"c" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { "type":"T_COLUMN_ATTRIBUTES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CONSTR_PRIMARY_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] }, { } ] }, { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { }, { } ] } ] }, { }, { }, { } ] } ] } ************** Case 30 *************** create table rongxuan(rongxuan.c int primary key, c2 int) question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" } ] }, { "type":"T_TABLE_ELEMENT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":1, "str_val":"c", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"c" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { "type":"T_COLUMN_ATTRIBUTES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CONSTR_PRIMARY_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] }, { } ] }, { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { }, { } ] } ] }, { }, { }, { } ] } ] } ************** Case 31 *************** create table rongxuan(d.rongxuan.c int primary key, c2 int) question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" } ] }, { "type":"T_TABLE_ELEMENT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":1, "str_val":"c", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"c" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { "type":"T_COLUMN_ATTRIBUTES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CONSTR_PRIMARY_KEY", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] }, { } ] }, { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { }, { } ] } ] }, { }, { }, { } ] } ] } ************** Case 32 *************** drop table t1 question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_TABLE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] } ] } ] } ] } ************** Case 33 *************** drop table oceanbase.t, t1 question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_TABLE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":1, "str_val":"t", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":9, "str_val":"oceanbase" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"t" } ] }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] } ] } ] } ] } ************** Case 34 *************** alter table rongxuan add c3 int; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ALTER_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" } ] }, { "type":"T_ALTER_TABLE_ACTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ALTER_COLUMN_OPTION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c3", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c3" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { }, { } ] } ] } ] } ] } ] } ] } ************** Case 35 *************** alter table rongxuan add rongxuan.c4 int; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ALTER_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" } ] }, { "type":"T_ALTER_TABLE_ACTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ALTER_COLUMN_OPTION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c4", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c4" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { }, { } ] } ] } ] } ] } ] } ] } ************** Case 36 *************** alter table rongxuan add test.rongxuan.c5 int; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ALTER_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" } ] }, { "type":"T_ALTER_TABLE_ACTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ALTER_COLUMN_OPTION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c5", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"test" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c5" } ] }, { "type":"T_INT32", "int_val":9223090566173032447, "str_len":0, "str_val":"" }, { }, { } ] } ] } ] } ] } ] } ] } ************** Case 37 *************** drop database rongxuan question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_DATABASE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" } ] } ] } ************** Case 38 *************** create database rongxuan question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_DATABASE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" }, { } ] } ] } ************** Case 39 *************** create database if not exists rongxuan question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_DATABASE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IF_NOT_EXISTS", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" }, { } ] } ] } ************** Case 40 *************** create database if not exists rongxuan default character set = 'utf8' default collate = 'default_collate' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_DATABASE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IF_NOT_EXISTS", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"rongxuan" }, { "type":"T_DATABASE_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CHARSET", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" }, { "type":"T_COLLATION", "int_val":9223372036854775807, "str_len":15, "str_val":"default_collate" } ] } ] } ] } ************** Case 41 *************** select * from d.t1 PARTITION(p1, p2); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { "type":"T_USE_PARTITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_NAME_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"p1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"p2" } ] } ] }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 42 *************** delete from d.t1 PARTITION(p0, p1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DELETE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_DELETE_TABLE_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_TABLE_REFERENCES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { "type":"T_USE_PARTITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_NAME_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"p0" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"p1" } ] } ] }, { } ] } ] } ] }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 43 *************** update d.t1 PARTITION (p2) SET id = 2 WHERE name = 'Jill'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_UPDATE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_TABLE_REFERENCES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { "type":"T_USE_PARTITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_NAME_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"p2" } ] } ] }, { } ] } ] }, { "type":"T_ASSIGN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ASSIGN_ITEM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"id", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"id" } ] }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":4, "str_val":"name", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"name" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"Jill", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"Jill" } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 44 *************** INSERT INTO d.t1 PARTITION (p3, p4) VALUES (24, 'Tim', 'Greene', 3, 1), (26, 'Linda', 'Mills', 2, 1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { "type":"T_USE_PARTITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_NAME_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"p3" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"p4" } ] } ] } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":24, "str_len":2, "str_val":"24" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"Tim", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"Tim" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":6, "str_val":"Greene", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":6, "str_val":"Greene" } ] }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":26, "str_len":2, "str_val":"26" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"Linda", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"Linda" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"Mills", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"Mills" } ] }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] } ] }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 45 *************** REPLACE INTO d.t1 PARTITION (p0) VALUES (20, 'Jan', 'Jones', 3, 2); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { "type":"T_USE_PARTITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_NAME_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"p0" } ] } ] } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":20, "str_len":2, "str_val":"20" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"Jan", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"Jan" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"Jones", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"Jones" } ] }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { } ] }, { "type":"T_REPLACE", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 46 *************** SELECT e.id, s.city, d.name FROM e JOIN stores PARTITION (p1) ON e.id=s.id JOIN departments PARTITION (p0) ON e.id=d.id; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":4, "str_val":"e.id", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"id", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"e" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"id" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":6, "str_val":"s.city", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":4, "str_val":"city", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"s" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"city" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":6, "str_val":"d.name", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":4, "str_val":"name", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"name" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOINED_TABLE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOIN_INNER", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_JOINED_TABLE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOIN_INNER", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":1, "str_val":"e", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"e" } ] }, { }, { }, { } ] }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":6, "str_val":"stores", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":6, "str_val":"stores" } ] }, { }, { "type":"T_USE_PARTITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_NAME_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"p1" } ] } ] }, { } ] }, { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"id", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"e" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"id" } ] }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"id", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"s" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"id" } ] } ] }, { } ] }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":11, "str_val":"departments", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":11, "str_val":"departments" } ] }, { }, { "type":"T_USE_PARTITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_NAME_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"p0" } ] } ] }, { } ] }, { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"id", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"e" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"id" } ] }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"id", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":1, "str_val":"d" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"id" } ] } ] }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 47 *************** alter system switch replica leader zone = 'z1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SWITCH_REPLICA_ROLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" }, { "type":"T_ZONE_TENANT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" } ] }, { } ] } ] } ] } ************** Case 48 *************** alter system switch replica leader server = '127.0.0.1:80'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SWITCH_REPLICA_ROLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" }, { "type":"T_SERVER_TENANT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IP_PORT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" } ] }, { } ] } ] } ] } ************** Case 49 *************** alter system switch replica leader partition_id = '1%8@3001' server = '127.0.0.1:80'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SWITCH_REPLICA_ROLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" }, { "type":"T_PARTITION_ID_SERVER", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PARTITION_ID_DESC", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"1%8@3001" } ] }, { "type":"T_IP_PORT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" } ] } ] } ] } ] } ************** Case 50 *************** alter system switch replica leader partition_id '1%8@3001' server '127.0.0.1:80'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SWITCH_REPLICA_ROLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" }, { "type":"T_PARTITION_ID_SERVER", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PARTITION_ID_DESC", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"1%8@3001" } ] }, { "type":"T_IP_PORT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" } ] } ] } ] } ] } ************** Case 51 *************** alter system drop replica partition_id = '1%8@3001' server = '127.0.0.1:80'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_PARTITION_ID_DESC", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"1%8@3001" } ] }, { "type":"T_IP_PORT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" } ] }, { }, { }, { } ] } ] } ************** Case 52 *************** alter system drop replica partition_id = '1%8@3001' server = '127.0.0.1:80' create_timestamp = 1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_PARTITION_ID_DESC", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"1%8@3001" } ] }, { "type":"T_IP_PORT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" } ] }, { "type":"T_CREATE_TIMESTAMP", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { }, { } ] } ] } ************** Case 53 *************** alter system drop replica partition_id = '1%8@3001' server = '127.0.0.1:80' zone = 'z1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_PARTITION_ID_DESC", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"1%8@3001" } ] }, { "type":"T_IP_PORT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" } ] }, { }, { "type":"T_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" } ] }, { } ] } ] } ************** Case 54 *************** alter system drop replica partition_id = '1%8@3001' server = '127.0.0.1:80' create_timestamp = 1 zone = 'z1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_PARTITION_ID_DESC", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"1%8@3001" } ] }, { "type":"T_IP_PORT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" } ] }, { "type":"T_CREATE_TIMESTAMP", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" } ] }, { } ] } ] } ************** Case 55 *************** alter system drop replica partition_id '1%8@3001' server '127.0.0.1:80' create_timestamp 1 zone 'z1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_PARTITION_ID_DESC", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"1%8@3001" } ] }, { "type":"T_IP_PORT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" } ] }, { "type":"T_CREATE_TIMESTAMP", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" } ] }, { } ] } ] } ************** Case 56 *************** alter system copy replica partition_id = '1%8@3001' source = '127.0.0.1:80' destination = '127.0.0.2:80'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MIGRATE_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":2, "str_len":0, "str_val":"" }, { "type":"T_PARTITION_ID_DESC", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"1%8@3001" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.2:80" }, { } ] } ] } ************** Case 57 *************** alter system move replica partition_id = '1%8@3001' source = '127.0.0.1:80' destination = '127.0.0.2:80'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MIGRATE_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_PARTITION_ID_DESC", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"1%8@3001" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.2:80" }, { } ] } ] } ************** Case 58 *************** alter system move replica partition_id '1%8@3001' source '127.0.0.1:80' destination '127.0.0.2:80'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MIGRATE_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_PARTITION_ID_DESC", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"1%8@3001" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.2:80" }, { } ] } ] } ************** Case 59 *************** alter system report replica; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REPORT_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { } ] } ] } ************** Case 60 *************** alter system report replica server = '127.0.0.1:80'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REPORT_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IP_PORT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" } ] } ] } ] } ************** Case 61 *************** alter system report replica zone = 'z1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REPORT_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" } ] } ] } ] } ************** Case 62 *************** alter system recycle replica; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RECYCLE_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { } ] } ] } ************** Case 63 *************** alter system recycle replica server = '127.0.0.1:80'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RECYCLE_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IP_PORT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" } ] } ] } ] } ************** Case 64 *************** alter system recycle replica server '127.0.0.1:80'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RECYCLE_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IP_PORT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"127.0.0.1:80" } ] } ] } ] } ************** Case 65 *************** alter system recycle replica zone = 'z1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RECYCLE_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" } ] } ] } ] } ************** Case 66 *************** alter system recycle replica zone 'z1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RECYCLE_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" } ] } ] } ] } ************** Case 67 *************** alter system major freeze; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_FREEZE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":0, "str_val":"" }, { } ] } ] } ************** Case 68 *************** alter system start merge zone = 'z1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MERGE_CONTROL", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" } ] } ] } ] } ************** Case 69 *************** alter system suspend merge; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MERGE_CONTROL", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":2, "str_len":0, "str_val":"" }, { } ] } ] } ************** Case 70 *************** alter system suspend merge zone = 'z1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MERGE_CONTROL", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":2, "str_len":0, "str_val":"" }, { "type":"T_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" } ] } ] } ] } ************** Case 71 *************** alter system resume merge; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MERGE_CONTROL", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":3, "str_len":0, "str_val":"" }, { } ] } ] } ************** Case 72 *************** alter system resume merge zone = 'z1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MERGE_CONTROL", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":3, "str_len":0, "str_val":"" }, { "type":"T_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" } ] } ] } ] } ************** Case 73 *************** alter system clear roottable; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CLEAR_ROOT_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { } ] } ] } ************** Case 74 *************** alter system clear roottable tenant = 'xxx'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CLEAR_ROOT_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_TENANT_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"xxx" } ] } ] } ] } ************** Case 75 *************** alter system modify zone 'z1' set region 'r1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":5, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REGION", "int_val":9223372036854775807, "str_len":2, "str_val":"r1" } ] } ] } ] } ************** Case 76 *************** alter system start zone 'z1' region 'r1' ************** Case 77 *************** alter system modify zone 'z1' IDC 'idc1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":5, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDC", "int_val":9223372036854775807, "str_len":4, "str_val":"idc1" } ] } ] } ] } ************** Case 78 *************** alter system modify zone 'z1' set IDC 'idc1', region 'r1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":5, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDC", "int_val":9223372036854775807, "str_len":4, "str_val":"idc1" }, { "type":"T_REGION", "int_val":9223372036854775807, "str_len":2, "str_val":"r1" } ] } ] } ] } ************** Case 79 *************** alter system add zone 'z1' idc 'idc1', region 'r1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDC", "int_val":9223372036854775807, "str_len":4, "str_val":"idc1" }, { "type":"T_REGION", "int_val":9223372036854775807, "str_len":2, "str_val":"r1" } ] } ] } ] } ************** Case 80 *************** alter system add zone 'z1' idc 'idc1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDC", "int_val":9223372036854775807, "str_len":4, "str_val":"idc1" } ] } ] } ] } ************** Case 81 *************** alter system modify zone 'z1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":5, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { } ] } ] } ************** Case 82 *************** alter system start zone 'z1' IDC 'idc1' ************** Case 83 *************** alter system start zone 'z1' zone_type 'ReadWrite' ************** Case 84 *************** alter system add zone 'z1' zone_type 'ReadWrite', idc 'idc1', region 'r1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE_TYPE", "int_val":9223372036854775807, "str_len":9, "str_val":"ReadWrite" }, { "type":"T_IDC", "int_val":9223372036854775807, "str_len":4, "str_val":"idc1" }, { "type":"T_REGION", "int_val":9223372036854775807, "str_len":2, "str_val":"r1" } ] } ] } ] } ************** Case 85 *************** alter system add zone 'z1' zone_type 'ReadWrite', idc 'idc1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE_TYPE", "int_val":9223372036854775807, "str_len":9, "str_val":"ReadWrite" }, { "type":"T_IDC", "int_val":9223372036854775807, "str_len":4, "str_val":"idc1" } ] } ] } ] } ************** Case 86 *************** alter system add zone 'z1' zone_type 'ReadWrite', region 'r1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE_TYPE", "int_val":9223372036854775807, "str_len":9, "str_val":"ReadWrite" }, { "type":"T_REGION", "int_val":9223372036854775807, "str_len":2, "str_val":"r1" } ] } ] } ] } ************** Case 87 *************** alter system add zone 'z1' zone_type 'ReadWrite' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE_TYPE", "int_val":9223372036854775807, "str_len":9, "str_val":"ReadWrite" } ] } ] } ] } ************** Case 88 *************** alter system modify zone 'z1' zone_type 'ReadWrite', idc 'idc1', region 'r1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":5, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE_TYPE", "int_val":9223372036854775807, "str_len":9, "str_val":"ReadWrite" }, { "type":"T_IDC", "int_val":9223372036854775807, "str_len":4, "str_val":"idc1" }, { "type":"T_REGION", "int_val":9223372036854775807, "str_len":2, "str_val":"r1" } ] } ] } ] } ************** Case 89 *************** alter system modify zone 'z1' zone_type 'ReadWrite', idc 'idc1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":5, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE_TYPE", "int_val":9223372036854775807, "str_len":9, "str_val":"ReadWrite" }, { "type":"T_IDC", "int_val":9223372036854775807, "str_len":4, "str_val":"idc1" } ] } ] } ] } ************** Case 90 *************** alter system modify zone 'z1' zone_type 'ReadWrite', region 'r1' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":5, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE_TYPE", "int_val":9223372036854775807, "str_len":9, "str_val":"ReadWrite" }, { "type":"T_REGION", "int_val":9223372036854775807, "str_len":2, "str_val":"r1" } ] } ] } ] } ************** Case 91 *************** alter system modify zone 'z1' zone_type 'ReadWrite' question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADMIN_ZONE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":5, "str_len":0, "str_val":"" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z1" }, { "type":"T_LINK_NODE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ZONE_TYPE", "int_val":9223372036854775807, "str_len":9, "str_val":"ReadWrite" } ] } ] } ] } ************** Case 92 *************** select * from t1 where c1>ANY(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 93 *************** select * from t1 where c1>SOME(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 94 *************** select * from t1 where c1>ALL(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ALL", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 95 *************** select * from t1 where c1>(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 96 *************** select * from t1 where c11); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_LT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 97 *************** select * from t1 where c11); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_LT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 98 *************** select * from t1 where c11); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_LT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ALL", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 99 *************** select * from t1 where c1<(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_LT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 100 *************** select * from t1 where c1>=ANY(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 101 *************** select * from t1 where c1>=SOME(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 102 *************** select * from t1 where c1>=ALL(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ALL", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 103 *************** select * from t1 where c1>=(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 104 *************** select * from t1 where c1<=ANY(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_LE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 105 *************** select * from t1 where c1<=SOME(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_LE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 106 *************** select * from t1 where c1<=ALL(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_LE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ALL", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 107 *************** select * from t1 where c1<=(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_LE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 108 *************** select * from t1 where c1=ANY(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 109 *************** select * from t1 where c1=SOME(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 110 *************** select * from t1 where c1=ALL(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ALL", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 111 *************** select * from t1 where c1=(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 112 *************** select * from t1 where c1!=ANY(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_NE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 113 *************** select * from t1 where c1!=SOME(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_NE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ANY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 114 *************** select * from t1 where c1!=ALL(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_NE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_ALL", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 115 *************** select * from t1 where c1!=(select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_NE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 116 *************** select * from t1 where c1 in (select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_IN", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 117 *************** select * from t1 where c1 not in (select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_NOT_IN", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 118 *************** select * from t1 where exists (select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_EXISTS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 119 *************** select * from t1 where not exists (select c1 from t2 where c2>1); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_NOT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_EXISTS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 120 *************** select * from t1 where (select c1 from t1) like (select c2 from t2); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_LIKE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 121 *************** select * from t1 where (select c1 from t1) not like (select c2 from t2); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_NOT_LIKE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 122 *************** select * from t1 where (c1) in (select c1 from t2); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_IN", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 123 *************** select * from t1 where (c1, c2) in (select c1, c2 from t2); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_IN", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_EXPR_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 124 *************** select * from t1 where ROW(c1, c2) in (select c1, c2 from t2); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_IN", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_EXPR_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 125 *************** set names latin1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_NAMES", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":6, "str_val":"latin1" }, { } ] } ] } ************** Case 126 *************** set names 'latin1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_NAMES", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":6, "str_val":"latin1" }, { } ] } ] } ************** Case 127 *************** set names utf8 collate 'utf8_general_ci'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_NAMES", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" }, { "type":"T_COLLATION", "int_val":9223372036854775807, "str_len":15, "str_val":"utf8_general_ci" } ] } ] } ************** Case 128 *************** set names utf8 collate utf8_general_ci; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_NAMES", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" }, { "type":"T_COLLATION", "int_val":9223372036854775807, "str_len":15, "str_val":"utf8_general_ci" } ] } ] } ************** Case 129 *************** set character set utf8; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_CHARSET", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" } ] } ] } ************** Case 130 *************** set character set 'utf8'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_CHARSET", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" } ] } ] } ************** Case 131 *************** set charset utf8; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_CHARSET", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" } ] } ] } ************** Case 132 *************** select _utf8 'abc', _utf8mb4 'def' collate utf8mb4_general_ci from t1 where c1 collate utf8_bin = 'xyz' collate utf8_bin; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":3, "str_val":"abc", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"abc", "children": [ { "type":"T_CHARSET", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"abc" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":41, "str_val":"_utf8mb4 'def' collate utf8mb4_general_ci", "children": [ { "type":"T_FUN_SYS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":13, "str_val":"set_collation" }, { "type":"T_EXPR_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"def", "children": [ { "type":"T_CHARSET", "int_val":9223372036854775807, "str_len":7, "str_val":"utf8mb4" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"def" } ] }, { "type":"T_COLLATION", "int_val":9223372036854775807, "str_len":18, "str_val":"utf8mb4_general_ci" } ] } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_FUN_SYS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":13, "str_val":"set_collation" }, { "type":"T_EXPR_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_COLLATION", "int_val":9223372036854775807, "str_len":8, "str_val":"utf8_bin" } ] } ] }, { "type":"T_FUN_SYS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":13, "str_val":"set_collation" }, { "type":"T_EXPR_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"xyz", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"xyz" } ] }, { "type":"T_COLLATION", "int_val":9223372036854775807, "str_len":8, "str_val":"utf8_bin" } ] } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 133 *************** select * from t1 where c1=?; question_mask_size: 1 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":1, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_QUESTIONMARK", "int_val":0, "str_len":0, "str_val":"" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 134 *************** select * from t1 where c1>?; question_mask_size: 1 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":1, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_GT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_QUESTIONMARK", "int_val":0, "str_len":0, "str_val":"" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 135 *************** select * from t1 where (select c1 from t1 where c1 = ?) not like (select c2 from t2 where c2=?); question_mask_size: 2 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":2, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_NOT_LIKE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_QUESTIONMARK", "int_val":0, "str_len":0, "str_val":"" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] } ] }, { "type":"T_WHERE_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OP_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_QUESTIONMARK", "int_val":1, "str_len":0, "str_val":"" } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] }, { } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 136 *************** select * from t1 join t2; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOINED_TABLE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOIN_INNER", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 137 *************** select * from t1 inner join t2; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOINED_TABLE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOIN_INNER", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 138 *************** select * from t1 cross join t2; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOINED_TABLE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOIN_INNER", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 139 *************** select * from t1 cross join t2 join t3; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOINED_TABLE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOIN_INNER", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_JOINED_TABLE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_JOIN_INNER", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] }, { }, { }, { } ] }, { }, { } ] }, { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t3", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t3" } ] }, { }, { }, { } ] }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 140 *************** select "1234"; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":4, "str_val":"1234", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"1234", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"1234" } ] } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 141 *************** select '1234'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":4, "str_val":"1234", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"1234", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"1234" } ] } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 142 *************** create table test(c1 varchar(3) binary) locality="f@zone1, f,l@region1"; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":4, "str_val":"test", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"test" } ] }, { "type":"T_TABLE_ELEMENT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_VARCHAR", "int_val":3, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_BINARY", "int_val":1, "str_len":0, "str_val":"" } ] }, { }, { } ] } ] }, { "type":"T_TABLE_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_LOCALITY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":20, "str_val":"f@zone1, f,l@region1" }, { } ] } ] }, { }, { } ] } ] } ************** Case 143 *************** create table test(c1 varchar(3) binary charset utf8mb4); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":4, "str_val":"test", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"test" } ] }, { "type":"T_TABLE_ELEMENT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_VARCHAR", "int_val":3, "str_len":0, "str_val":"", "children": [ { "type":"T_CHARSET", "int_val":9223372036854775807, "str_len":7, "str_val":"utf8mb4" }, { }, { "type":"T_BINARY", "int_val":1, "str_len":0, "str_val":"" } ] }, { }, { } ] } ] }, { }, { }, { } ] } ] } ************** Case 144 *************** replace into test values(1,2); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":4, "str_val":"test", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"test" } ] }, { }, { } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { } ] }, { "type":"T_REPLACE", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 145 *************** replace ignore into test values(1,2); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":4, "str_val":"test", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"test" } ] }, { }, { } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { } ] }, { "type":"T_REPLACE", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { "type":"T_IGNORE", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] } ************** Case 146 *************** insert ignore into test values(1,2); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":4, "str_val":"test", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"test" } ] }, { }, { } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { "type":"T_IGNORE", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] } ************** Case 147 *************** insert ignore into test values(1,2) on duplicate key update c2 = c1 + 1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":4, "str_val":"test", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":4, "str_val":"test" } ] }, { }, { } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { "type":"T_ASSIGN_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ASSIGN_ITEM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] }, { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] } ] } ] } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { "type":"T_IGNORE", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] } ************** Case 148 *************** create outline out_name on select * from t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_OUTLINE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name" } ] }, { "type":"T_DEFAULT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":16, "str_val":"select * from t1", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { } ] } ] } ************** Case 149 *************** create or replace outline out_name on select * from t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_OUTLINE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IF_NOT_EXISTS", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name" } ] }, { "type":"T_DEFAULT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":16, "str_val":"select * from t1", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { } ] } ] } ************** Case 150 *************** create outline out_name on select * from t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_OUTLINE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name" } ] }, { "type":"T_DEFAULT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":16, "str_val":"select * from t1", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { } ] } ] } ************** Case 151 *************** create outline out_name on select /*+ssssss*/* from t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_OUTLINE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name" } ] }, { "type":"T_DEFAULT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":27, "str_val":"select /*+ssssss*/* from t1", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { } ] } ] } ************** Case 152 *************** create outline out_name on select /*+ssssss*/* from t1 to select /*+ssssss*/* from t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_OUTLINE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name" } ] }, { "type":"T_DEFAULT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":27, "str_val":"select /*+ssssss*/* from t1", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":27, "str_val":"select /*+ssssss*/* from t1", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] } ************** Case 153 *************** create outline out_name on select /*+ssssss*/* from t1 to select * from t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_OUTLINE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name" } ] }, { "type":"T_DEFAULT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":27, "str_val":"select /*+ssssss*/* from t1", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { "type":"T_SELECT", "int_val":9223372036854775807, "str_len":16, "str_val":"select * from t1", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ] } ************** Case 154 *************** create outline out_name on insert /*+ssssss*/ into t1 values(1, 2) to insert /*+ssssss*/ into t1 values(1, 2); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_OUTLINE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name" } ] }, { "type":"T_DEFAULT", "int_val":1, "str_len":0, "str_val":"" }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":39, "str_val":"insert /*+ssssss*/ into t1 values(1, 2)", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":39, "str_val":"insert /*+ssssss*/ into t1 values(1, 2)", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ] } ************** Case 155 *************** drop outline out_name; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_OUTLINE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name" } ] } ] } ] } ************** Case 156 *************** drop outline db_name.out_name; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_OUTLINE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":7, "str_val":"db_name" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":8, "str_val":"out_name" } ] } ] } ] } ************** Case 157 *************** create tenant tt1 replica_num = 1, primary_zone = 'zone1', resource_pool_list = ('zone1') set ob_tcp_invited_nodes='%'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TENANT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tt1" }, { "type":"T_TENANT_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REPLICA_NUM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_PRIMARY_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] }, { "type":"T_TENANT_RESOURCE_POOL_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] } ] }, { "type":"T_VARIABLE_SET", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VAR_VAL", "int_val":1, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":20, "str_val":"ob_tcp_invited_nodes" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%" } ] } ] } ] } ] } ] } ************** Case 158 *************** 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 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TENANT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IF_NOT_EXISTS", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tt1" }, { "type":"T_TENANT_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REPLICA_NUM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_PRIMARY_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] }, { "type":"T_TENANT_RESOURCE_POOL_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] } ] }, { "type":"T_VARIABLE_SET", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VAR_VAL", "int_val":1, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":20, "str_val":"ob_tcp_invited_nodes" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%" } ] } ] } ] } ] } ] } ************** Case 159 *************** 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 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TENANT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tt1" }, { "type":"T_TENANT_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REPLICA_NUM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_PRIMARY_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] }, { "type":"T_TENANT_RESOURCE_POOL_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] }, { "type":"T_LOCALITY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":22, "str_val":"auto_locality_strategy" }, { } ] } ] }, { "type":"T_VARIABLE_SET", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VAR_VAL", "int_val":1, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":20, "str_val":"ob_tcp_invited_nodes" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%" } ] } ] } ] } ] } ] } ************** Case 160 *************** 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 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TENANT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IF_NOT_EXISTS", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tt1" }, { "type":"T_TENANT_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REPLICA_NUM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_PRIMARY_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] }, { "type":"T_TENANT_RESOURCE_POOL_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] }, { "type":"T_LOCALITY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":22, "str_val":"auto_locality_strategy" }, { } ] } ] }, { "type":"T_VARIABLE_SET", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VAR_VAL", "int_val":1, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":20, "str_val":"ob_tcp_invited_nodes" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%" } ] } ] } ] } ] } ] } ************** Case 161 *************** 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 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TENANT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tt1" }, { "type":"T_TENANT_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REPLICA_NUM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_PRIMARY_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] }, { "type":"T_TENANT_RESOURCE_POOL_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] }, { "type":"T_LOGONLY_REPLICA_NUM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] } ] }, { "type":"T_VARIABLE_SET", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VAR_VAL", "int_val":1, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":20, "str_val":"ob_tcp_invited_nodes" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%" } ] } ] } ] } ] } ] } ************** Case 162 *************** 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 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TENANT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IF_NOT_EXISTS", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tt1" }, { "type":"T_TENANT_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REPLICA_NUM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_PRIMARY_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] }, { "type":"T_TENANT_RESOURCE_POOL_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" } ] }, { "type":"T_LOGONLY_REPLICA_NUM", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] } ] }, { "type":"T_VARIABLE_SET", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VAR_VAL", "int_val":1, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":20, "str_val":"ob_tcp_invited_nodes" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%", "children": [ { }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"%" } ] } ] } ] } ] } ] } ************** Case 163 *************** select /*+max_concurrent(-10)*/* from t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { "type":"T_HINT_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { }, { }, { }, { } ] } ] } ************** Case 164 *************** select /*+max_concurrent(10)*/* from t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":1, "str_val":"*", "children": [ { "type":"T_STAR", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { "type":"T_HINT_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MAX_CONCURRENT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":10, "str_len":2, "str_val":"10" } ] } ] }, { }, { }, { }, { }, { } ] } ] } ************** Case 165 *************** alter system refresh time_zone_info; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REFRESH_TIME_ZONE_INFO", "int_val":0, "str_len":0, "str_val":"" } ] } ************** Case 166 *************** drop public synonym t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_SYNONYM", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_PUBLIC", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { } ] } ] } ************** Case 167 *************** drop public synonym t1 force; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_SYNONYM", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_PUBLIC", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_FORCE", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] } ************** Case 168 *************** drop synonym t1 force; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_SYNONYM", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_FORCE", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] } ************** Case 169 *************** drop synonym database1.t1 force; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DROP_SYNONYM", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":9, "str_val":"database1" }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" }, { "type":"T_FORCE", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] } ************** Case 170 *************** 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 (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 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 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 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 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_QEURY_EXPRESSION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DISTINCT", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":4, "str_val":"(c1)", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 180 *************** select unique(c1+1), c2 from t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_QEURY_EXPRESSION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DISTINCT", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":6, "str_val":"(c1+1)", "children": [ { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 181 *************** select distinct unique( max(c1)), c2 from t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_QEURY_EXPRESSION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DISTINCT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_DISTINCT", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":13, "str_val":"( max(c1))", "children": [ { "type":"T_FUN_MAX", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 182 *************** select unique distinct( max(c1)), c2 from t1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SELECT", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_QEURY_EXPRESSION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_DISTINCT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_DISTINCT", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] }, { "type":"T_PROJECT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":13, "str_val":"( max(c1))", "children": [ { "type":"T_FUN_MAX", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c1" } ] } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":2, "str_val":"c2", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"c2" } ] } ] } ] }, { }, { "type":"T_FROM_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 183 *************** select unique(*) from t1; ************** Case 184 *************** create tablegroup tg1 primary_zone = 'z2'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLEGROUP", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tg1" }, { "type":"T_TABLEGROUP_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PRIMARY_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z2" } ] } ] }, { } ] } ] } ************** Case 185 *************** create tablegroup tg1 locality = 'z2'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLEGROUP", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tg1" }, { "type":"T_TABLEGROUP_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_LOCALITY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z2" }, { } ] } ] }, { } ] } ] } ************** Case 186 *************** create tablegroup tg1 locality = 'z2', primary_zone='z2'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLEGROUP", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tg1" }, { "type":"T_TABLEGROUP_OPTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_LOCALITY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z2" }, { } ] }, { "type":"T_PRIMARY_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":2, "str_val":"z2" } ] } ] }, { } ] } ] } ************** Case 187 *************** alter tablegroup tg1 set primary_zone = "z1:z2"; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ALTER_TABLEGROUP", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tg1" }, { "type":"T_ALTER_TABLEGROUP_ACTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PRIMARY_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"z1:z2" } ] } ] } ] } ] } ************** Case 188 *************** alter tablegroup tg1 set locality='f@z1,f@z3'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ALTER_TABLEGROUP", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tg1" }, { "type":"T_ALTER_TABLEGROUP_ACTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_LOCALITY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":9, "str_val":"f@z1,f@z3" }, { } ] } ] } ] } ] } ************** Case 189 *************** alter tablegroup tg2 add table t1,t2; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ALTER_TABLEGROUP", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tg2" }, { "type":"T_TABLE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t2", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t2" } ] } ] } ] } ] } ************** Case 190 *************** alter tablegroup tg1 set locality='f@z1,f@z3', set primary_zone = "z1:z2"; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ALTER_TABLEGROUP", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":3, "str_val":"tg1" }, { "type":"T_ALTER_TABLEGROUP_ACTION_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_LOCALITY", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":9, "str_val":"f@z1,f@z3" }, { } ] }, { "type":"T_PRIMARY_ZONE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"z1:z2" } ] } ] } ] } ] } ************** Case 191 *************** insert into t1 values(X''); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SINGLE_TABLE_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INSERT_INTO_CLAUSE", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ORG", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { }, { } ] }, { } ] }, { "type":"T_VALUE_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VALUE_VECTOR", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_HEX_STRING", "int_val":9223372036854775807, "str_len":0, "str_val":"" } ] } ] }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 192 *************** create table t1(`thedate` date NOT NULL COMMENT '日期'); question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CREATE_TABLE", "int_val":0, "str_len":0, "str_val":"", "children": [ { }, { }, { "type":"T_RELATION_FACTOR", "int_val":9223372036854775807, "str_len":2, "str_val":"t1", "children": [ { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":2, "str_val":"t1" } ] }, { "type":"T_TABLE_ELEMENT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_DEFINITION", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COLUMN_REF", "int_val":9223372036854775807, "str_len":7, "str_val":"thedate", "children": [ { }, { }, { "type":"T_IDENT", "int_val":9223372036854775807, "str_len":7, "str_val":"thedate" } ] }, { "type":"T_DATE", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_COLUMN_ATTRIBUTES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CONSTR_NOT_NULL", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_COMMENT", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":6, "str_val":"日期" } ] } ] }, { } ] } ] }, { }, { }, { } ] } ] } ************** Case 193 *************** alter system bootstrap REGION 'sys_region' ZONE 'zone1' SERVER '10.101.74.122:41425'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_BOOTSTRAP", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SERVER_INFO_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_SERVER_INFO", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":10, "str_val":"sys_region" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"zone1" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"10.101.74.122:41425" } ] } ] }, { }, { } ] } ] }