************** 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":65535, "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":65535, "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":65535, "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 *************** start/*hint+start tx hint*/ transaction; 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":0, "str_len":0, "str_val":"" }, { "type":"T_HINT", "int_val":9223372036854775807, "str_len":14, "str_val":"start tx hint" } ] } ] } ************** Case 12 *************** begin; 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":0, "str_len":0, "str_val":"" }, { } ] } ] } ************** Case 13 *************** begin/*hint+begin*/; 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":0, "str_len":0, "str_val":"" }, { "type":"T_HINT", "int_val":9223372036854775807, "str_len":6, "str_val":"begin" } ] } ] } ************** Case 14 *************** begin work; 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":0, "str_len":0, "str_val":"" }, { } ] } ] } ************** Case 15 *************** begin/*hint+begin work*/ work; 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":0, "str_len":0, "str_val":"" }, { "type":"T_HINT", "int_val":9223372036854775807, "str_len":11, "str_val":"begin work" } ] } ] } ************** Case 16 *************** commit; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COMMIT", "int_val":0, "str_len":0, "str_val":"", "children": [ { } ] } ] } ************** Case 17 *************** commit/*hint+commit*/; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COMMIT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_HINT", "int_val":9223372036854775807, "str_len":7, "str_val":"commit" } ] } ] } ************** Case 18 *************** commit work; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COMMIT", "int_val":0, "str_len":0, "str_val":"", "children": [ { } ] } ] } ************** Case 19 *************** commit/*hint+commit work*/ work; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COMMIT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_HINT", "int_val":9223372036854775807, "str_len":12, "str_val":"commit work" } ] } ] } ************** Case 20 *************** commit comment 'comment transaction commit'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COMMIT", "int_val":0, "str_len":0, "str_val":"", "children": [ { } ] } ] } ************** Case 21 *************** commit work comment 'comment txn commit work'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COMMIT", "int_val":0, "str_len":0, "str_val":"", "children": [ { } ] } ] } ************** Case 22 *************** commit/*hint+commit tx hint*/ comment 'comment + hint'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COMMIT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_HINT", "int_val":9223372036854775807, "str_len":15, "str_val":"commit tx hint" } ] } ] } ************** Case 23 *************** commit/*hint+commit tx work hint*/ work comment 'comment + hint'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_COMMIT", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_HINT", "int_val":9223372036854775807, "str_len":20, "str_val":"commit tx work hint" } ] } ] } ************** Case 24 *************** rollback; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ROLLBACK", "int_val":0, "str_len":0, "str_val":"", "children": [ { } ] } ] } ************** Case 25 *************** rollback/*hint+rollback*/; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ROLLBACK", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_HINT", "int_val":9223372036854775807, "str_len":9, "str_val":"rollback" } ] } ] } ************** Case 26 *************** rollback work; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ROLLBACK", "int_val":0, "str_len":0, "str_val":"", "children": [ { } ] } ] } ************** Case 27 *************** rollback/*hint+rollback work*/ work; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ROLLBACK", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_HINT", "int_val":9223372036854775807, "str_len":14, "str_val":"rollback work" } ] } ] } ************** Case 28 *************** 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 29 *************** 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 30 *************** 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":2, "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_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 31 *************** 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":2, "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_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 32 *************** 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":2, "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_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { }, { }, { }, { }, { }, { }, { } ] } ] } ************** Case 33 *************** 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 34 *************** 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 35 *************** 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 36 *************** 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 37 *************** 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 38 *************** 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_INT", "int_val":10, "str_len":2, "str_val":"10" } ] }, { }, { }, { }, { }, { } ] } ] } ************** Case 39 *************** 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_INT", "int_val":10, "str_len":2, "str_val":"10" } ] }, { }, { }, { }, { }, { } ] } ] } ************** Case 40 *************** 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_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { }, { }, { }, { }, { } ] } ] } ************** Case 41 *************** 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 42 *************** 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 43 *************** 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 44 *************** 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 45 *************** 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 46 *************** 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":65535, "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":65535, "str_len":0, "str_val":"" }, { }, { } ] } ] }, { }, { }, { }, { } ] } ] } ************** Case 47 *************** 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":65535, "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":65535, "str_len":0, "str_val":"" }, { }, { } ] } ] }, { }, { }, { }, { } ] } ] } ************** Case 48 *************** 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":65535, "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":65535, "str_len":0, "str_val":"" }, { }, { } ] } ] }, { }, { }, { }, { } ] } ] } ************** Case 49 *************** 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 50 *************** 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 51 *************** 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":65535, "str_len":0, "str_val":"" }, { }, { } ] } ] } ] } ] }, { }, { } ] } ] } ************** Case 52 *************** 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":65535, "str_len":0, "str_val":"" }, { }, { } ] } ] } ] } ] }, { }, { } ] } ] } ************** Case 53 *************** 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":65535, "str_len":0, "str_val":"" }, { }, { } ] } ] } ] } ] }, { }, { } ] } ] } ************** Case 54 *************** 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 55 *************** 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 56 *************** 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 57 *************** 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 58 *************** 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 59 *************** 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 60 *************** 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 61 *************** 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 62 *************** 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 63 *************** 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 64 *************** 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 65 *************** 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 66 *************** 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 67 *************** 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 68 *************** 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 69 *************** 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 70 *************** 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 71 *************** 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 72 *************** 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 73 *************** 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 74 *************** 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 75 *************** alter system suspend merge tenant = sys; 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_TENANT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"sys" } ] } ] } ] } ************** Case 76 *************** alter system suspend merge tenant = all_user; 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_TENANT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"all_user" } ] } ] } ] } ************** Case 77 *************** alter system suspend merge tenant = all_meta; 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_TENANT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"all_meta" } ] } ] } ] } ************** Case 78 *************** 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 79 *************** alter system resume merge tenant = sys; 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_TENANT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"sys" } ] } ] } ] } ************** Case 80 *************** alter system resume merge tenant = all_user; 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_TENANT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"all_user" } ] } ] } ] } ************** Case 81 *************** alter system resume merge tenant = all_meta; 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_TENANT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":8, "str_val":"all_meta" } ] } ] } ] } ************** Case 82 *************** 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 83 *************** 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 84 *************** 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 85 *************** alter system start zone 'z1' region 'r1' ************** Case 86 *************** 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 87 *************** 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 88 *************** 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 89 *************** 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 90 *************** 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 91 *************** alter system start zone 'z1' IDC 'idc1' ************** Case 92 *************** alter system start zone 'z1' zone_type 'ReadWrite' ************** Case 93 *************** 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 94 *************** 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 95 *************** 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 96 *************** 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 97 *************** 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 98 *************** 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 99 *************** 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 100 *************** 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 101 *************** 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 102 *************** 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 103 *************** 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 104 *************** 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 105 *************** 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 106 *************** 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 107 *************** 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 108 *************** 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 109 *************** 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 110 *************** 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 111 *************** 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 112 *************** 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 113 *************** 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 114 *************** 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 115 *************** 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 116 *************** 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 117 *************** 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 118 *************** 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 119 *************** 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 120 *************** 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 121 *************** 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 122 *************** 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 123 *************** 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 124 *************** 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 125 *************** 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 126 *************** 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 127 *************** 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 128 *************** 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 129 *************** 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 130 *************** 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 131 *************** 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 132 *************** 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":2, "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 133 *************** 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":2, "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 134 *************** set names latin1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARIABLE_SET", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_NAMES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CHAR_CHARSET", "int_val":9223372036854775807, "str_len":6, "str_val":"latin1" }, { } ] } ] } ] } ************** Case 135 *************** set names 'latin1'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARIABLE_SET", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_NAMES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":6, "str_val":"latin1" }, { } ] } ] } ] } ************** Case 136 *************** 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_VARIABLE_SET", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_NAMES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CHAR_CHARSET", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" }, { "type":"T_COLLATION", "int_val":9223372036854775807, "str_len":15, "str_val":"utf8_general_ci" } ] } ] } ] } ************** Case 137 *************** 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_VARIABLE_SET", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_NAMES", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CHAR_CHARSET", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" }, { "type":"T_COLLATION", "int_val":9223372036854775807, "str_len":15, "str_val":"utf8_general_ci" } ] } ] } ] } ************** Case 138 *************** set character set utf8; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARIABLE_SET", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_CHARSET", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CHAR_CHARSET", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" } ] } ] } ] } ************** Case 139 *************** set character set 'utf8'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARIABLE_SET", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_CHARSET", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" } ] } ] } ] } ************** Case 140 *************** set charset utf8; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARIABLE_SET", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_SET_CHARSET", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CHAR_CHARSET", "int_val":9223372036854775807, "str_len":4, "str_val":"utf8" } ] } ] } ] } ************** Case 141 *************** 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_SET_COLLATION", "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_SET_COLLATION", "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_SET_COLLATION", "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 142 *************** 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 143 *************** 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 144 *************** 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 145 *************** 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 146 *************** 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 147 *************** 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 148 *************** 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 149 *************** 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 150 *************** 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 151 *************** 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 152 *************** 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 153 *************** 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 154 *************** 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 155 *************** 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 156 *************** 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" }, { } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { }, { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" } ] } ] } ************** Case 157 *************** 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" }, { } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { }, { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" } ] } ] } ************** Case 158 *************** 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" }, { } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { }, { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" } ] } ] } ************** Case 159 *************** 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" }, { } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { }, { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" } ] } ] } ************** Case 160 *************** 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" }, { } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" } ] } ] } ************** Case 161 *************** 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" }, { } ] }, { }, { }, { } ] } ] }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ] }, { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" } ] } ] } ************** Case 162 *************** 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":"" }, { }, { } ] }, { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" } ] } ] } ************** Case 163 *************** 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" }, { } ] }, { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" } ] } ] } ************** Case 164 *************** 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" }, { } ] }, { "type":"T_INT", "int_val":0, "str_len":0, "str_val":"" } ] } ] } ************** Case 165 *************** 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 166 *************** 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 167 *************** 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 168 *************** 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 169 *************** 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 170 *************** 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 171 *************** 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 172 *************** 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 173 *************** 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 174 *************** 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 175 *************** 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 176 *************** 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 177 *************** 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 178 *************** 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 179 *************** 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 180 *************** merge into targetTable t1 using sourceTable t2 on (t1.id = t2.id) when matched then update set t1.sales = t2.sales; ************** Case 181 *************** merge into targetTable using sourceTable on (targetTable.id = sourceTable.id) when matched then update set targetTable.sales = sourceTable.sales; ************** Case 182 *************** merge into targetTable using (select * from t1 ) sourceTable on (targetTable.id = sourceTable.id) when matched then update set targetTable.sales = sourceTable.sales; ************** Case 183 *************** 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 184 *************** 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 185 *************** 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 186 *************** 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 187 *************** select unique(*) from t1; ************** Case 188 *************** delete from t1 where c1 = 1 returning c1 + 1, c2 * 2; 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":1, "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_OBJ_ACCESS_REF", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":1, "str_len":2, "str_val":"C1" }, { } ] }, { "type":"T_INT", "int_val":1, "str_len":1, "str_val":"1" } ] }, { } ] }, { }, { }, { }, { }, { "type":"T_RETURNING", "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":4, "str_val":"C1+1", "children": [ { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OBJ_ACCESS_REF", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":1, "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":4, "str_val":"C2*2", "children": [ { "type":"T_OP_MUL", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OBJ_ACCESS_REF", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":1, "str_len":2, "str_val":"C2" }, { } ] }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] } ] } ] }, { } ] }, { }, { } ] } ] } ************** Case 189 *************** update t1 set c1 = 1 where c2 = 2 returning c1, c2 + 3, c3 * c4; 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_ALIAS", "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":1, "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":"C1", "children": [ { }, { }, { "type":"T_IDENT", "int_val":1, "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_EQ", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OBJ_ACCESS_REF", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":1, "str_len":2, "str_val":"C2" }, { } ] }, { "type":"T_INT", "int_val":2, "str_len":1, "str_val":"2" } ] }, { } ] }, { }, { }, { }, { }, { }, { "type":"T_RETURNING", "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_OBJ_ACCESS_REF", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":1, "str_len":2, "str_val":"C1" }, { } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":4, "str_val":"C2+3", "children": [ { "type":"T_OP_ADD", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OBJ_ACCESS_REF", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":1, "str_len":2, "str_val":"C2" }, { } ] }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":5, "str_val":"C3*C4", "children": [ { "type":"T_OP_MUL", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_OBJ_ACCESS_REF", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":1, "str_len":2, "str_val":"C3" }, { } ] }, { "type":"T_OBJ_ACCESS_REF", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":1, "str_len":2, "str_val":"C4" }, { } ] } ] } ] } ] }, { } ] }, { } ] } ] } ************** Case 190 *************** insert into t1 values(1, 2, 3) returning c1, c2, c3; 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_ALIAS", "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":1, "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_INT", "int_val":3, "str_len":1, "str_val":"3" } ] } ] }, { "type":"T_RETURNING", "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_OBJ_ACCESS_REF", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":1, "str_len":2, "str_val":"C1" }, { } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"C2", "children": [ { "type":"T_OBJ_ACCESS_REF", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":1, "str_len":2, "str_val":"C2" }, { } ] } ] }, { "type":"T_PROJECT_STRING", "int_val":9223372036854775807, "str_len":2, "str_val":"C3", "children": [ { "type":"T_OBJ_ACCESS_REF", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_IDENT", "int_val":1, "str_len":2, "str_val":"C3" }, { } ] } ] } ] }, { } ] }, { } ] }, { "type":"T_INSERT", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { }, { } ] } ] } ************** Case 191 *************** replace into t1 values(1, 2) returning c1, c2, c3, c4, c5, c6; ************** Case 192 *************** 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 193 *************** 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 194 *************** 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 195 *************** 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" } ] } ] }, { } ] } ] } ************** Case 196 *************** alter system transfer partition table_id = 1, object_id = 1 to ls 1001; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_TRANSFER_PARTITION", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_TRANSFER_PARTITION_TO_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PARTITION_INFO", "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":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_INT", "int_val":1001, "str_len":4, "str_val":"1001" } ] }, { } ] } ] } ************** Case 197 *************** alter system transfer partition table_id = 1, object_id = 1 to ls 1001 tenant 'mysql'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_TRANSFER_PARTITION", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_TRANSFER_PARTITION_TO_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_PARTITION_INFO", "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":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_INT", "int_val":1001, "str_len":4, "str_val":"1001" } ] }, { "type":"T_TENANT_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"mysql" } ] } ] } ] } ************** Case 198 *************** alter system cancel transfer partition table_id = 1, object_id = 1; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CANCEL_TRANSFER_PARTITION", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_PARTITION_INFO", "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":1, "str_len":1, "str_val":"1" } ] }, { } ] } ] } ************** Case 199 *************** alter system cancel transfer partition table_id = 1, object_id = 1 tenant 'mysql'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CANCEL_TRANSFER_PARTITION", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_PARTITION_INFO", "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":1, "str_len":1, "str_val":"1" } ] }, { "type":"T_TENANT_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"mysql" } ] } ] } ] } ************** Case 200 *************** alter system cancel transfer partition ALL; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CANCEL_TRANSFER_PARTITION", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_ALL", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { } ] } ] } ************** Case 201 *************** alter system cancel transfer partition ALL tenant 'mysql'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CANCEL_TRANSFER_PARTITION", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_ALL", "int_val":9223372036854775807, "str_len":0, "str_val":"" }, { "type":"T_TENANT_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":5, "str_val":"mysql" } ] } ] } ] } ************** Case 202 *************** alter system cancel balance job; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CANCEL_BALANCE_JOB", "int_val":0, "str_len":0, "str_val":"", "children": [ { } ] } ] } ************** Case 203 *************** alter system cancel balance job tenant 'mysql'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CANCEL_BALANCE_JOB", "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":5, "str_val":"mysql" } ] } ] } ] } ************** Case 204 *************** alter system add replica ls=100 server='100.88.107.212:5000' replica_type='F' data_source='100.88.107.212:5001' paxos_replica_num=3 tenant='mysql_tenant'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADD_LS_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"F" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5001" }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { "type":"T_TENANT_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"mysql_tenant" } ] } ] } ] } ************** Case 205 *************** alter system add replica ls=100 server='100.88.107.212:5000' replica_type='F' data_source='100.88.107.212:5001' paxos_replica_num=3; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADD_LS_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"F" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5001" }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { } ] } ] } ************** Case 206 *************** alter system add replica ls=100 server='100.88.107.212:5000' replica_type='F' data_source='100.88.107.212:5001'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADD_LS_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"F" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5001" }, { }, { } ] } ] } ************** Case 207 *************** alter system add replica ls=100 server='100.88.107.212:5000' replica_type='F'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_ADD_LS_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"F" }, { }, { }, { } ] } ] } ************** Case 208 *************** alter system remove replica ls=100 server='100.88.107.212:5000' paxos_replica_num=3 tenant='mysql_tenant'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REMOVE_LS_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { "type":"T_TENANT_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"mysql_tenant" } ] } ] } ] } ************** Case 209 *************** alter system remove replica ls=100 server='100.88.107.212:5000' paxos_replica_num=3; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REMOVE_LS_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { } ] } ] } ************** Case 210 *************** alter system remove replica ls=100 server='100.88.107.212:5000'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_REMOVE_LS_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { }, { } ] } ] } ************** Case 211 *************** alter system modify replica ls=100 server='100.88.107.212:5000' replica_type='F' paxos_replica_num=3 tenant='mysql_tenant'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MODIFY_LS_REPLICA_TYPE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"F" }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { "type":"T_TENANT_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"mysql_tenant" } ] } ] } ] } ************** Case 212 *************** alter system modify replica ls=100 server='100.88.107.212:5000' replica_type='F' paxos_replica_num=3; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MODIFY_LS_REPLICA_TYPE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"F" }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { } ] } ] } ************** Case 213 *************** alter system modify replica ls=100 server='100.88.107.212:5000' replica_type='F'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MODIFY_LS_REPLICA_TYPE", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":1, "str_val":"F" }, { }, { } ] } ] } ************** Case 214 *************** alter system modify ls=100 paxos_replica_num=3 tenant='mysql_tenant'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MODIFY_LS_PAXOS_REPLICA_NUM", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { "type":"T_TENANT_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"mysql_tenant" } ] } ] } ] } ************** Case 215 *************** alter system modify ls=100 paxos_replica_num=3; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MODIFY_LS_PAXOS_REPLICA_NUM", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_INT", "int_val":3, "str_len":1, "str_val":"3" }, { } ] } ] } ************** Case 216 *************** alter system migrate replica ls=100 source='100.88.107.212:5000' destination='100.88.107.212:5000' data_source='100.88.107.212:5001' tenant='mysql_tenant'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MIGRATE_LS_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5001" }, { "type":"T_TENANT_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"mysql_tenant" } ] } ] } ] } ************** Case 217 *************** alter system migrate replica ls=100 source='100.88.107.212:5000' destination='100.88.107.212:5000' data_source='100.88.107.212:5001'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MIGRATE_LS_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5001" }, { } ] } ] } ************** Case 218 *************** alter system migrate replica ls=100 source='100.88.107.212:5000' destination='100.88.107.212:5000'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_MIGRATE_LS_REPLICA", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_LS", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_INT", "int_val":100, "str_len":3, "str_val":"100" } ] }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":19, "str_val":"100.88.107.212:5000" }, { }, { } ] } ] } ************** Case 219 *************** alter system cancel replica task task_id = 'xxx' tenant='mysql_tenant'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CANCEL_LS_REPLICA_TASK", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"xxx" }, { "type":"T_TENANT_NAME", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":12, "str_val":"mysql_tenant" } ] } ] } ] } ************** Case 220 *************** alter system cancel replica task task_id = 'xxx'; question_mask_size: 0 { "type":"T_STMT_LIST", "int_val":9223372036854775807, "str_len":0, "str_val":"", "children": [ { "type":"T_CANCEL_LS_REPLICA_TASK", "int_val":0, "str_len":0, "str_val":"", "children": [ { "type":"T_VARCHAR", "int_val":9223372036854775807, "str_len":3, "str_val":"xxx" }, { } ] } ] }