54050 lines
		
	
	
		
			1.3 MiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			54050 lines
		
	
	
		
			1.3 MiB
		
	
	
	
	
	
	
	
***************   Case 1   ***************
 | 
						|
drop database if exists expr_db;
 | 
						|
{
 | 
						|
  "drop_database_arg":"tenant_id",
 | 
						|
  "database_name":"expr_db",
 | 
						|
  "if_exist":true,
 | 
						|
  "to_recyclebin":false
 | 
						|
}
 | 
						|
***************   Case 2   ***************
 | 
						|
create database expr_db;
 | 
						|
{
 | 
						|
  "create_database_arg":"database_schema",
 | 
						|
  "database_id":-1,
 | 
						|
  "schema_version":1,
 | 
						|
  "database_name":"expr_db",
 | 
						|
  "replica_num":0,
 | 
						|
  "zone_list": [
 | 
						|
  ],
 | 
						|
  "primary_zone":"",
 | 
						|
  "charset_type":2,
 | 
						|
  "collation_type":"utf8mb4_general_ci",
 | 
						|
  "name_case_mode":-1,
 | 
						|
  "comment":"",
 | 
						|
  "read_only":false,
 | 
						|
  "default_tablegroup_id":-1,
 | 
						|
  "default_tablegroup_name":"",
 | 
						|
  "in_recyclebin":false,
 | 
						|
  "primary_zone_array": [
 | 
						|
  ]
 | 
						|
}
 | 
						|
***************   Case 3   ***************
 | 
						|
use expr_db;
 | 
						|
{
 | 
						|
  "stmt_type":97
 | 
						|
}
 | 
						|
***************   Case 4   ***************
 | 
						|
create table t1(c1 int primary key, c2 int) partition by hash(c1 + 1) partitions 3
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"t1", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":1, "part_option":{"part_func_type":0, "part_func_expr":"c1 + 1", "part_num":3, "partition_cnt_within_partition_table":-1, "max_used_part_id":2}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":3, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}, {"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":1, "name":"p1", "high_bound_val":, "list_row_values":[], "part_idx":1}, "mapping_pg_part_id":-1}, {"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":2, "name":"p2", "high_bound_val":, "list_row_values":[], "part_idx":2}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":17, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":1, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":0, "auto_increment":1, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}], "capacity":1}, "partition_key_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}], "capacity":1}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 5   ***************
 | 
						|
create table t2(c1 int, c2 int, c3 varchar(32), primary key(c2, c3)) partition by key(c2, c3) partitions 3
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"t2", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":1, "part_option":{"part_func_type":6, "part_func_expr":"c2, c3", "part_num":3, "partition_cnt_within_partition_table":-1, "max_used_part_id":2}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":3, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}, {"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":1, "name":"p1", "high_bound_val":, "list_row_values":[], "part_idx":1}, "mapping_pg_part_id":-1}, {"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":2, "name":"p2", "high_bound_val":, "list_row_values":[], "part_idx":2}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":18, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":2, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":0, "auto_increment":1, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":0, "column_id":17, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}, {"length":32, "column_id":18, "type":{"type":"VARCHAR", "collation":"utf8mb4_general_ci", "coercibility":"INVALID"}, "order":0, "fulltext_flag":false}], "capacity":2}, "partition_key_info":{"columns":[{"length":0, "column_id":17, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}, {"length":32, "column_id":18, "type":{"type":"VARCHAR", "collation":"utf8mb4_general_ci", "coercibility":"INVALID"}, "order":0, "fulltext_flag":false}], "capacity":2}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 6   ***************
 | 
						|
create table t3(c3 int primary key, c4 int)
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"t3", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":0, "part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":0}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":1, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":17, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":1, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":0, "auto_increment":1, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}], "capacity":1}, "partition_key_info":{"columns":null, "capacity":0}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 7   ***************
 | 
						|
create index idx1 on t1(c2) LOCAL
 | 
						|
{
 | 
						|
  "stmt_type":23,
 | 
						|
  "create_index_arg": {
 | 
						|
    "index_arg": {
 | 
						|
      "tenant_id":1,
 | 
						|
      "session_id":-1,
 | 
						|
      "index_name":"idx1",
 | 
						|
      "table_name":"t1",
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "index_action_type":2
 | 
						|
    },
 | 
						|
    "index_type":1,
 | 
						|
    "index_columns": [
 | 
						|
       {
 | 
						|
        "column_name":"c2",
 | 
						|
        "prefix_len":0,
 | 
						|
        "order_type":0,
 | 
						|
        "column_id":-1
 | 
						|
      }
 | 
						|
    ],
 | 
						|
    "fulltext_columns": [
 | 
						|
    ],
 | 
						|
    "store_columns": [
 | 
						|
    ],
 | 
						|
    "index_option": {
 | 
						|
      "block_size":16384,
 | 
						|
      "replica_num":0,
 | 
						|
      "index_status":1,
 | 
						|
      "use_bloom_filter":false,
 | 
						|
      "compress_method":"none",
 | 
						|
      "comment":"",
 | 
						|
      "tablegroup_name":"",
 | 
						|
      "progressive_merge_num":0,
 | 
						|
      "primary_zone":"",
 | 
						|
      "parser_name":"TAOBAO_CHN",
 | 
						|
      "index_attributes_set":0,
 | 
						|
      "row_store_type":3,
 | 
						|
      "store_format":0
 | 
						|
    },
 | 
						|
    "index_using_type":0,
 | 
						|
    "data_table_id":-1,
 | 
						|
    "index_table_id":-1,
 | 
						|
    "if_not_exist":false,
 | 
						|
    "index_schema": {
 | 
						|
      "simple_table_schema": {
 | 
						|
        "tenant_id":1,
 | 
						|
        "database_id":-1,
 | 
						|
        "tablegroup_id":-1,
 | 
						|
        "table_id":-1,
 | 
						|
        "table_name":"",
 | 
						|
        "replica_num":0,
 | 
						|
        "previous_locality_str":"",
 | 
						|
        "min_partition_id":0,
 | 
						|
        "session_id":0,
 | 
						|
        "index_type":0,
 | 
						|
        "table_type":3,
 | 
						|
        "data_table_id":0,
 | 
						|
        "name_casemode":-1,
 | 
						|
        "schema_version":0,
 | 
						|
        "part_level":0,
 | 
						|
        "part_option": {
 | 
						|
          "part_func_type":0,
 | 
						|
          "part_func_expr":"",
 | 
						|
          "part_num":1,
 | 
						|
          "partition_cnt_within_partition_table":-1,
 | 
						|
          "max_used_part_id":-1
 | 
						|
        },
 | 
						|
        "sub_part_option": {
 | 
						|
          "part_func_type":0,
 | 
						|
          "part_func_expr":"",
 | 
						|
          "part_num":1,
 | 
						|
          "partition_cnt_within_partition_table":-1,
 | 
						|
          "max_used_part_id":-1
 | 
						|
        },
 | 
						|
        "locality_str":"",
 | 
						|
        "zone_list": [
 | 
						|
        ],
 | 
						|
        "primary_zone":"",
 | 
						|
        "part_num":0,
 | 
						|
        "subpart_num":0,
 | 
						|
        "partition_num":0,
 | 
						|
        "subpartition_num":0,
 | 
						|
        "partition_array":null,
 | 
						|
        "subpartition_array":null,
 | 
						|
        "index_status":1,
 | 
						|
        "binding":false,
 | 
						|
        "duplicate_scope":0
 | 
						|
      },
 | 
						|
      "max_used_column_id":0,
 | 
						|
      "max_used_constraint_id":0,
 | 
						|
      "sess_active_time":0,
 | 
						|
      "rowkey_column_num":0,
 | 
						|
      "index_column_num":0,
 | 
						|
      "rowkey_split_pos":0,
 | 
						|
      "block_size":16384,
 | 
						|
      "is_use_bloomfilter":false,
 | 
						|
      "progressive_merge_num":0,
 | 
						|
      "tablet_size":134217728,
 | 
						|
      "pctfree":10,
 | 
						|
      "load_type":0,
 | 
						|
      "index_using_type":0,
 | 
						|
      "def_type":1,
 | 
						|
      "charset_type":2,
 | 
						|
      "collation_type":45,
 | 
						|
      "create_mem_version":0,
 | 
						|
      "index_status":1,
 | 
						|
      "partition_status":0,
 | 
						|
      "code_version":1,
 | 
						|
      "last_modified_frozen_version":0,
 | 
						|
      "comment":"",
 | 
						|
      "pk_comment":"",
 | 
						|
      "create_host":"",
 | 
						|
      "zone_replica_attr_array": [
 | 
						|
      ],
 | 
						|
      "region_replica_num_array": [
 | 
						|
      ],
 | 
						|
      "tablegroup_name":"",
 | 
						|
      "compress_func_name":"",
 | 
						|
      "row_store_type":1,
 | 
						|
      "store_format":0,
 | 
						|
      "expire_info":"",
 | 
						|
      "view_schema": {
 | 
						|
        "view_definition":"",
 | 
						|
        "check_option":"none",
 | 
						|
        "is_updatable":"false",
 | 
						|
        "is_materialized":"false"
 | 
						|
      },
 | 
						|
      "autoinc_column_id":0,
 | 
						|
      "auto_increment":1,
 | 
						|
      "read_only":false,
 | 
						|
      "primary_zone_array": [
 | 
						|
      ],
 | 
						|
      "index_tid_array": [
 | 
						|
      ],
 | 
						|
      "mv_tid_array": [
 | 
						|
      ],
 | 
						|
      "aux_vp_tid_array": [
 | 
						|
      ],
 | 
						|
      "base_table_ids": [
 | 
						|
      ],
 | 
						|
      "rowkey_info": {
 | 
						|
        "columns":null,
 | 
						|
        "capacity":0
 | 
						|
      },
 | 
						|
      "partition_key_info": {
 | 
						|
        "columns":null,
 | 
						|
        "capacity":0
 | 
						|
      },
 | 
						|
      "aux_vp_tid_array": [
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 | 
						|
***************   Case 8   ***************
 | 
						|
create table test(c1 int , c2 int, c3 varchar(50), c4 varchar(50), c5 int , c6 double, c7 int, primary key(c1, c2, c3))
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"test", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":0, "part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":0}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":1, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":22, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":3, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":0, "auto_increment":1, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}, {"length":0, "column_id":17, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}, {"length":50, "column_id":18, "type":{"type":"VARCHAR", "collation":"utf8mb4_general_ci", "coercibility":"INVALID"}, "order":0, "fulltext_flag":false}], "capacity":3}, "partition_key_info":{"columns":null, "capacity":0}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 9   ***************
 | 
						|
create index test_indx on test(c4, c5)
 | 
						|
{
 | 
						|
  "stmt_type":23,
 | 
						|
  "create_index_arg": {
 | 
						|
    "index_arg": {
 | 
						|
      "tenant_id":1,
 | 
						|
      "session_id":-1,
 | 
						|
      "index_name":"test_indx",
 | 
						|
      "table_name":"test",
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "index_action_type":2
 | 
						|
    },
 | 
						|
    "index_type":3,
 | 
						|
    "index_columns": [
 | 
						|
       {
 | 
						|
        "column_name":"c4",
 | 
						|
        "prefix_len":0,
 | 
						|
        "order_type":0,
 | 
						|
        "column_id":-1
 | 
						|
      },
 | 
						|
       {
 | 
						|
        "column_name":"c5",
 | 
						|
        "prefix_len":0,
 | 
						|
        "order_type":0,
 | 
						|
        "column_id":-1
 | 
						|
      }
 | 
						|
    ],
 | 
						|
    "fulltext_columns": [
 | 
						|
    ],
 | 
						|
    "store_columns": [
 | 
						|
    ],
 | 
						|
    "index_option": {
 | 
						|
      "block_size":16384,
 | 
						|
      "replica_num":0,
 | 
						|
      "index_status":1,
 | 
						|
      "use_bloom_filter":false,
 | 
						|
      "compress_method":"none",
 | 
						|
      "comment":"",
 | 
						|
      "tablegroup_name":"",
 | 
						|
      "progressive_merge_num":0,
 | 
						|
      "primary_zone":"",
 | 
						|
      "parser_name":"TAOBAO_CHN",
 | 
						|
      "index_attributes_set":0,
 | 
						|
      "row_store_type":3,
 | 
						|
      "store_format":0
 | 
						|
    },
 | 
						|
    "index_using_type":0,
 | 
						|
    "data_table_id":-1,
 | 
						|
    "index_table_id":-1,
 | 
						|
    "if_not_exist":false,
 | 
						|
    "index_schema": {
 | 
						|
      "simple_table_schema": {
 | 
						|
        "tenant_id":1,
 | 
						|
        "database_id":-1,
 | 
						|
        "tablegroup_id":-1,
 | 
						|
        "table_id":-1,
 | 
						|
        "table_name":"",
 | 
						|
        "replica_num":0,
 | 
						|
        "previous_locality_str":"",
 | 
						|
        "min_partition_id":0,
 | 
						|
        "session_id":0,
 | 
						|
        "index_type":3,
 | 
						|
        "table_type":5,
 | 
						|
        "data_table_id":0,
 | 
						|
        "name_casemode":-1,
 | 
						|
        "schema_version":0,
 | 
						|
        "part_level":0,
 | 
						|
        "part_option": {
 | 
						|
          "part_func_type":0,
 | 
						|
          "part_func_expr":"",
 | 
						|
          "part_num":1,
 | 
						|
          "partition_cnt_within_partition_table":-1,
 | 
						|
          "max_used_part_id":-1
 | 
						|
        },
 | 
						|
        "sub_part_option": {
 | 
						|
          "part_func_type":0,
 | 
						|
          "part_func_expr":"",
 | 
						|
          "part_num":1,
 | 
						|
          "partition_cnt_within_partition_table":-1,
 | 
						|
          "max_used_part_id":-1
 | 
						|
        },
 | 
						|
        "locality_str":"",
 | 
						|
        "zone_list": [
 | 
						|
        ],
 | 
						|
        "primary_zone":"",
 | 
						|
        "part_num":0,
 | 
						|
        "subpart_num":0,
 | 
						|
        "partition_num":0,
 | 
						|
        "subpartition_num":0,
 | 
						|
        "partition_array":null,
 | 
						|
        "subpartition_array":null,
 | 
						|
        "index_status":1,
 | 
						|
        "binding":false,
 | 
						|
        "duplicate_scope":0
 | 
						|
      },
 | 
						|
      "max_used_column_id":20,
 | 
						|
      "max_used_constraint_id":0,
 | 
						|
      "sess_active_time":0,
 | 
						|
      "rowkey_column_num":5,
 | 
						|
      "index_column_num":2,
 | 
						|
      "rowkey_split_pos":0,
 | 
						|
      "block_size":16384,
 | 
						|
      "is_use_bloomfilter":false,
 | 
						|
      "progressive_merge_num":0,
 | 
						|
      "tablet_size":134217728,
 | 
						|
      "pctfree":10,
 | 
						|
      "load_type":0,
 | 
						|
      "index_using_type":0,
 | 
						|
      "def_type":1,
 | 
						|
      "charset_type":2,
 | 
						|
      "collation_type":45,
 | 
						|
      "create_mem_version":0,
 | 
						|
      "index_status":1,
 | 
						|
      "partition_status":0,
 | 
						|
      "code_version":1,
 | 
						|
      "last_modified_frozen_version":0,
 | 
						|
      "comment":"",
 | 
						|
      "pk_comment":"",
 | 
						|
      "create_host":"",
 | 
						|
      "zone_replica_attr_array": [
 | 
						|
      ],
 | 
						|
      "region_replica_num_array": [
 | 
						|
      ],
 | 
						|
      "tablegroup_name":"",
 | 
						|
      "compress_func_name":"",
 | 
						|
      "row_store_type":1,
 | 
						|
      "store_format":0,
 | 
						|
      "expire_info":"",
 | 
						|
      "view_schema": {
 | 
						|
        "view_definition":"",
 | 
						|
        "check_option":"none",
 | 
						|
        "is_updatable":"false",
 | 
						|
        "is_materialized":"false"
 | 
						|
      },
 | 
						|
      "autoinc_column_id":0,
 | 
						|
      "auto_increment":1,
 | 
						|
      "read_only":false,
 | 
						|
      "primary_zone_array": [
 | 
						|
      ],
 | 
						|
      "index_tid_array": [
 | 
						|
      ],
 | 
						|
      "mv_tid_array": [
 | 
						|
      ],
 | 
						|
      "aux_vp_tid_array": [
 | 
						|
      ],
 | 
						|
      "base_table_ids": [
 | 
						|
      ],
 | 
						|
      "rowkey_info": {
 | 
						|
        "columns": [
 | 
						|
           {
 | 
						|
            "length":50,
 | 
						|
            "column_id":19,
 | 
						|
            "type": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            },
 | 
						|
            "order":0,
 | 
						|
            "fulltext_flag":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "length":0,
 | 
						|
            "column_id":20,
 | 
						|
            "type": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "order":0,
 | 
						|
            "fulltext_flag":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "length":0,
 | 
						|
            "column_id":16,
 | 
						|
            "type": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "order":0,
 | 
						|
            "fulltext_flag":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "length":0,
 | 
						|
            "column_id":17,
 | 
						|
            "type": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "order":0,
 | 
						|
            "fulltext_flag":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "length":50,
 | 
						|
            "column_id":18,
 | 
						|
            "type": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            },
 | 
						|
            "order":0,
 | 
						|
            "fulltext_flag":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "capacity":5
 | 
						|
      },
 | 
						|
      "partition_key_info": {
 | 
						|
        "columns":null,
 | 
						|
        "capacity":0
 | 
						|
      },
 | 
						|
      "aux_vp_tid_array": [
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 | 
						|
***************   Case 10   ***************
 | 
						|
create table non_reserved_key_test(value int primary key)
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"non_reserved_key_test", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":0, "part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":0}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":1, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":16, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":1, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":0, "auto_increment":1, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}], "capacity":1}, "partition_key_info":{"columns":null, "capacity":0}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 11   ***************
 | 
						|
create table test2(c1 int primary key, c2 varchar(30), c3 timestamp(6) default now(6))
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"test2", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":0, "part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":0}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":1, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":18, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":1, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":0, "auto_increment":1, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}], "capacity":1}, "partition_key_info":{"columns":null, "capacity":0}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 12   ***************
 | 
						|
create table t4(c1 int primary key, c2 int not null, c3 int default 1, c4 int not null default 2)
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"t4", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":0, "part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":0}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":1, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":19, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":1, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":0, "auto_increment":1, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}], "capacity":1}, "partition_key_info":{"columns":null, "capacity":0}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 13   ***************
 | 
						|
create table ta(c1 int primary key, c2 int auto_increment) comment='test', auto_increment= 5
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"ta", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":0, "part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":0}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":1, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":17, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":1, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"test", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":17, "auto_increment":5, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}], "capacity":1}, "partition_key_info":{"columns":null, "capacity":0}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 14   ***************
 | 
						|
create table alter_table1(c1 int primary key, c2 varchar(11) not null default 'c2', c3 tinyint default 3, c4 char(11)) partition by hash(c1) partitions 3
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"alter_table1", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":1, "part_option":{"part_func_type":0, "part_func_expr":"c1", "part_num":3, "partition_cnt_within_partition_table":-1, "max_used_part_id":2}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":3, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}, {"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":1, "name":"p1", "high_bound_val":, "list_row_values":[], "part_idx":1}, "mapping_pg_part_id":-1}, {"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":2, "name":"p2", "high_bound_val":, "list_row_values":[], "part_idx":2}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":19, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":1, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":0, "auto_increment":1, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}], "capacity":1}, "partition_key_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}], "capacity":1}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 15   ***************
 | 
						|
create index idx_c1 on alter_table1(c1) LOCAL
 | 
						|
{
 | 
						|
  "stmt_type":23,
 | 
						|
  "create_index_arg": {
 | 
						|
    "index_arg": {
 | 
						|
      "tenant_id":1,
 | 
						|
      "session_id":-1,
 | 
						|
      "index_name":"idx_c1",
 | 
						|
      "table_name":"alter_table1",
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "index_action_type":2
 | 
						|
    },
 | 
						|
    "index_type":1,
 | 
						|
    "index_columns": [
 | 
						|
       {
 | 
						|
        "column_name":"c1",
 | 
						|
        "prefix_len":0,
 | 
						|
        "order_type":0,
 | 
						|
        "column_id":-1
 | 
						|
      }
 | 
						|
    ],
 | 
						|
    "fulltext_columns": [
 | 
						|
    ],
 | 
						|
    "store_columns": [
 | 
						|
    ],
 | 
						|
    "index_option": {
 | 
						|
      "block_size":16384,
 | 
						|
      "replica_num":0,
 | 
						|
      "index_status":1,
 | 
						|
      "use_bloom_filter":false,
 | 
						|
      "compress_method":"none",
 | 
						|
      "comment":"",
 | 
						|
      "tablegroup_name":"",
 | 
						|
      "progressive_merge_num":0,
 | 
						|
      "primary_zone":"",
 | 
						|
      "parser_name":"TAOBAO_CHN",
 | 
						|
      "index_attributes_set":0,
 | 
						|
      "row_store_type":3,
 | 
						|
      "store_format":0
 | 
						|
    },
 | 
						|
    "index_using_type":0,
 | 
						|
    "data_table_id":-1,
 | 
						|
    "index_table_id":-1,
 | 
						|
    "if_not_exist":false,
 | 
						|
    "index_schema": {
 | 
						|
      "simple_table_schema": {
 | 
						|
        "tenant_id":1,
 | 
						|
        "database_id":-1,
 | 
						|
        "tablegroup_id":-1,
 | 
						|
        "table_id":-1,
 | 
						|
        "table_name":"",
 | 
						|
        "replica_num":0,
 | 
						|
        "previous_locality_str":"",
 | 
						|
        "min_partition_id":0,
 | 
						|
        "session_id":0,
 | 
						|
        "index_type":0,
 | 
						|
        "table_type":3,
 | 
						|
        "data_table_id":0,
 | 
						|
        "name_casemode":-1,
 | 
						|
        "schema_version":0,
 | 
						|
        "part_level":0,
 | 
						|
        "part_option": {
 | 
						|
          "part_func_type":0,
 | 
						|
          "part_func_expr":"",
 | 
						|
          "part_num":1,
 | 
						|
          "partition_cnt_within_partition_table":-1,
 | 
						|
          "max_used_part_id":-1
 | 
						|
        },
 | 
						|
        "sub_part_option": {
 | 
						|
          "part_func_type":0,
 | 
						|
          "part_func_expr":"",
 | 
						|
          "part_num":1,
 | 
						|
          "partition_cnt_within_partition_table":-1,
 | 
						|
          "max_used_part_id":-1
 | 
						|
        },
 | 
						|
        "locality_str":"",
 | 
						|
        "zone_list": [
 | 
						|
        ],
 | 
						|
        "primary_zone":"",
 | 
						|
        "part_num":0,
 | 
						|
        "subpart_num":0,
 | 
						|
        "partition_num":0,
 | 
						|
        "subpartition_num":0,
 | 
						|
        "partition_array":null,
 | 
						|
        "subpartition_array":null,
 | 
						|
        "index_status":1,
 | 
						|
        "binding":false,
 | 
						|
        "duplicate_scope":0
 | 
						|
      },
 | 
						|
      "max_used_column_id":0,
 | 
						|
      "max_used_constraint_id":0,
 | 
						|
      "sess_active_time":0,
 | 
						|
      "rowkey_column_num":0,
 | 
						|
      "index_column_num":0,
 | 
						|
      "rowkey_split_pos":0,
 | 
						|
      "block_size":16384,
 | 
						|
      "is_use_bloomfilter":false,
 | 
						|
      "progressive_merge_num":0,
 | 
						|
      "tablet_size":134217728,
 | 
						|
      "pctfree":10,
 | 
						|
      "load_type":0,
 | 
						|
      "index_using_type":0,
 | 
						|
      "def_type":1,
 | 
						|
      "charset_type":2,
 | 
						|
      "collation_type":45,
 | 
						|
      "create_mem_version":0,
 | 
						|
      "index_status":1,
 | 
						|
      "partition_status":0,
 | 
						|
      "code_version":1,
 | 
						|
      "last_modified_frozen_version":0,
 | 
						|
      "comment":"",
 | 
						|
      "pk_comment":"",
 | 
						|
      "create_host":"",
 | 
						|
      "zone_replica_attr_array": [
 | 
						|
      ],
 | 
						|
      "region_replica_num_array": [
 | 
						|
      ],
 | 
						|
      "tablegroup_name":"",
 | 
						|
      "compress_func_name":"",
 | 
						|
      "row_store_type":1,
 | 
						|
      "store_format":0,
 | 
						|
      "expire_info":"",
 | 
						|
      "view_schema": {
 | 
						|
        "view_definition":"",
 | 
						|
        "check_option":"none",
 | 
						|
        "is_updatable":"false",
 | 
						|
        "is_materialized":"false"
 | 
						|
      },
 | 
						|
      "autoinc_column_id":0,
 | 
						|
      "auto_increment":1,
 | 
						|
      "read_only":false,
 | 
						|
      "primary_zone_array": [
 | 
						|
      ],
 | 
						|
      "index_tid_array": [
 | 
						|
      ],
 | 
						|
      "mv_tid_array": [
 | 
						|
      ],
 | 
						|
      "aux_vp_tid_array": [
 | 
						|
      ],
 | 
						|
      "base_table_ids": [
 | 
						|
      ],
 | 
						|
      "rowkey_info": {
 | 
						|
        "columns":null,
 | 
						|
        "capacity":0
 | 
						|
      },
 | 
						|
      "partition_key_info": {
 | 
						|
        "columns":null,
 | 
						|
        "capacity":0
 | 
						|
      },
 | 
						|
      "aux_vp_tid_array": [
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 | 
						|
***************   Case 16   ***************
 | 
						|
create table t_auto_inc(c1 int primary key, c2 int auto_increment)
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"t_auto_inc", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":0, "part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":0}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":1, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":17, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":1, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":17, "auto_increment":1, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}], "capacity":1}, "partition_key_info":{"columns":null, "capacity":0}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 17   ***************
 | 
						|
create table coll_table(c1 varchar(10) collate utf8_general_ci, c2 varchar(10) collate utf8_bin, c3 varchar(10), primary key(c1, c2));
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"coll_table", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":0, "part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":0}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":1, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":18, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":2, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":0, "auto_increment":1, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":10, "column_id":16, "type":{"type":"VARCHAR", "collation":"utf8mb4_general_ci", "coercibility":"INVALID"}, "order":0, "fulltext_flag":false}, {"length":10, "column_id":17, "type":{"type":"VARCHAR", "collation":"utf8mb4_bin", "coercibility":"INVALID"}, "order":0, "fulltext_flag":false}], "capacity":2}, "partition_key_info":{"columns":null, "capacity":0}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 18   ***************
 | 
						|
create table ts(c1 int primary key, c2 timestamp default current_timestamp on update current_timestamp, c3 int);
 | 
						|
{"ObTableStmt":{"partition_fun_expr":[], "range_values_exprs":[], "list_values_exprs":[], "index_partition_resolve_results":[], "part_type":8}, "stmt_type":20, "create_table_arg":{"if_not_exist":false, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"ts", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":3, "data_table_id":0, "name_casemode":-1, "schema_version":0, "part_level":0, "part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":0}, "sub_part_option":{"part_func_type":0, "part_func_expr":"", "part_num":1, "partition_cnt_within_partition_table":-1, "max_used_part_id":-1}, "locality_str":"", "zone_list":[], "primary_zone":"", "part_num":0, "subpart_num":0, "partition_num":1, "subpartition_num":0, "partition_array":[{"BasePartition":{"tenant_id":18446744073709551615, "table_id":18446744073709551615, "part_id":0, "name":"p0", "high_bound_val":, "list_row_values":[], "part_idx":0}, "mapping_pg_part_id":-1}], "subpartition_array":null, "index_status":1, "binding":false, "duplicate_scope":0}, "max_used_column_id":18, "max_used_constraint_id":0, "sess_active_time":0, "rowkey_column_num":1, "index_column_num":0, "rowkey_split_pos":0, "block_size":16384, "is_use_bloomfilter":false, "progressive_merge_num":0, "tablet_size":134217728, "pctfree":10, "load_type":0, "index_using_type":0, "def_type":1, "charset_type":2, "collation_type":45, "create_mem_version":0, "index_status":1, "partition_status":0, "code_version":1, "last_modified_frozen_version":0, "comment":"", "pk_comment":"", "create_host":"", "zone_replica_attr_array":[], "region_replica_num_array":[], "tablegroup_name":"", "compress_func_name":"zstd_1.0", "row_store_type":1, "store_format":3, "expire_info":"", "view_schema":{"view_definition":"", "check_option":"none", "is_updatable":"false", "is_materialized":"false"}, "autoinc_column_id":0, "auto_increment":1, "read_only":false, "primary_zone_array":[], "index_tid_array":[], "mv_tid_array":[], "aux_vp_tid_array":[], "base_table_ids":[], "rowkey_info":{"columns":[{"length":0, "column_id":16, "type":{"type":"INT", "collation":"binary", "coercibility":"NUMERIC"}, "order":0, "fulltext_flag":false}], "capacity":1}, "partition_key_info":{"columns":null, "capacity":0}, "aux_vp_tid_array":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"expr_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 19   ***************
 | 
						|
set @var_name = "varchar"
 | 
						|
{
 | 
						|
  "actual_tenant_id":1,
 | 
						|
  "variable_nodes": [
 | 
						|
     {
 | 
						|
      "variable_name":"var_name",
 | 
						|
      "is_system_variable":false,
 | 
						|
      "set_scope":2,
 | 
						|
      "value_expr": {
 | 
						|
        "item_type":"T_VARCHAR",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"COERCIBLE"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":7,
 | 
						|
            "precision":1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "CNT_CONST"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "VARCHAR":"varchar",
 | 
						|
          "collation":"utf8mb4_general_ci"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_set_default":false
 | 
						|
    }
 | 
						|
  ]
 | 
						|
}
 | 
						|
***************   Case 20   ***************
 | 
						|
set auto_increment_offset = 2
 | 
						|
{
 | 
						|
  "actual_tenant_id":1,
 | 
						|
  "variable_nodes": [
 | 
						|
     {
 | 
						|
      "variable_name":"auto_increment_offset",
 | 
						|
      "is_system_variable":true,
 | 
						|
      "set_scope":2,
 | 
						|
      "value_expr": {
 | 
						|
        "item_type":"T_INT",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "CNT_CONST"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "BIGINT":2
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_set_default":false
 | 
						|
    }
 | 
						|
  ]
 | 
						|
}
 | 
						|
***************   Case 21   ***************
 | 
						|
show collation like "utf%"
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":-2,
 | 
						|
      "table_name":"subquery_alias",
 | 
						|
      "alias_name":"subquery_alias",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":-2,
 | 
						|
      "column":"Collation",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "VARCHAR":"",
 | 
						|
        "collation":"utf8mb4_general_ci"
 | 
						|
      },
 | 
						|
      "base_tid":1099511639807,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":128,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Collation",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":-2,
 | 
						|
      "column":"Charset",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "VARCHAR":"",
 | 
						|
        "collation":"utf8mb4_general_ci"
 | 
						|
      },
 | 
						|
      "base_tid":1099511639807,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":128,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Charset",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":-2,
 | 
						|
      "column":"Id",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "BIGINT":0
 | 
						|
      },
 | 
						|
      "base_tid":1099511639807,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":20,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Id",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":19,
 | 
						|
      "table_id":-2,
 | 
						|
      "column":"Default",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "VARCHAR":"",
 | 
						|
        "collation":"utf8mb4_general_ci"
 | 
						|
      },
 | 
						|
      "base_tid":1099511639807,
 | 
						|
      "base_cid":19,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":4,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Default",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":20,
 | 
						|
      "table_id":-2,
 | 
						|
      "column":"Compiled",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "VARCHAR":"",
 | 
						|
        "collation":"utf8mb4_general_ci"
 | 
						|
      },
 | 
						|
      "base_tid":1099511639807,
 | 
						|
      "base_cid":20,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":4,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":20,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Compiled",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":21,
 | 
						|
      "table_id":-2,
 | 
						|
      "column":"Sortlen",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "BIGINT":0
 | 
						|
      },
 | 
						|
      "base_tid":1099511639807,
 | 
						|
      "base_cid":21,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":20,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":21,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Sortlen",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":128,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Collation",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"Collation",
 | 
						|
      "expr_name":"Collation",
 | 
						|
      "default": {
 | 
						|
        "VARCHAR":"",
 | 
						|
        "collation":"utf8mb4_general_ci"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":128,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Charset",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"Charset",
 | 
						|
      "expr_name":"Charset",
 | 
						|
      "default": {
 | 
						|
        "VARCHAR":"",
 | 
						|
        "collation":"utf8mb4_general_ci"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":20,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Id",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"Id",
 | 
						|
      "expr_name":"Id",
 | 
						|
      "default": {
 | 
						|
        "BIGINT":0
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":4,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Default",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"Default",
 | 
						|
      "expr_name":"Default",
 | 
						|
      "default": {
 | 
						|
        "VARCHAR":"",
 | 
						|
        "collation":"utf8mb4_general_ci"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":4,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":20,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Compiled",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"Compiled",
 | 
						|
      "expr_name":"Compiled",
 | 
						|
      "default": {
 | 
						|
        "VARCHAR":"",
 | 
						|
        "collation":"utf8mb4_general_ci"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":20,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":21,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"subquery_alias",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"Sortlen",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"Sortlen",
 | 
						|
      "expr_name":"Sortlen",
 | 
						|
      "default": {
 | 
						|
        "BIGINT":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":-2,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_LIKE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"VARCHAR",
 | 
						|
          "collation":"utf8mb4_general_ci",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":128,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":-2,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"",
 | 
						|
          "table_name":"subquery_alias",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"Collation",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_VARCHAR",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "VARCHAR":"utf%",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_VARCHAR",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "VARCHAR":"\",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":true,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":0,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511639807,
 | 
						|
          "table_name":"__tenant_virtual_collation",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511639807,
 | 
						|
          "database_name":"oceanbase",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511639807,
 | 
						|
          "column":"collation",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "VARCHAR":"",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          },
 | 
						|
          "base_tid":1099511639807,
 | 
						|
          "base_cid":16,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":128,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"collation",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511639807,
 | 
						|
          "column":"charset",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "VARCHAR":"",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          },
 | 
						|
          "base_tid":1099511639807,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":128,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"charset",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":18,
 | 
						|
          "table_id":1099511639807,
 | 
						|
          "column":"id",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "BIGINT":0
 | 
						|
          },
 | 
						|
          "base_tid":1099511639807,
 | 
						|
          "base_cid":18,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":20,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"id",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":19,
 | 
						|
          "table_id":1099511639807,
 | 
						|
          "column":"is_default",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "VARCHAR":"",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          },
 | 
						|
          "base_tid":1099511639807,
 | 
						|
          "base_cid":19,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":4,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":19,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"is_default",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":20,
 | 
						|
          "table_id":1099511639807,
 | 
						|
          "column":"is_compiled",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "VARCHAR":"",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          },
 | 
						|
          "base_tid":1099511639807,
 | 
						|
          "base_cid":20,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":4,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":20,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"is_compiled",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":21,
 | 
						|
          "table_id":1099511639807,
 | 
						|
          "column":"sortlen",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "BIGINT":0
 | 
						|
          },
 | 
						|
          "base_tid":1099511639807,
 | 
						|
          "base_cid":21,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":20,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":21,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"sortlen",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":128,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"collation",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":true,
 | 
						|
          "alias_name":"Collation",
 | 
						|
          "expr_name":"collation",
 | 
						|
          "default": {
 | 
						|
            "VARCHAR":"",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":128,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"charset",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":true,
 | 
						|
          "alias_name":"Charset",
 | 
						|
          "expr_name":"charset",
 | 
						|
          "default": {
 | 
						|
            "VARCHAR":"",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":20,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"id",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":true,
 | 
						|
          "alias_name":"Id",
 | 
						|
          "expr_name":"id",
 | 
						|
          "default": {
 | 
						|
            "BIGINT":0
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":4,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":19,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"is_default",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":true,
 | 
						|
          "alias_name":"Default",
 | 
						|
          "expr_name":"is_default",
 | 
						|
          "default": {
 | 
						|
            "VARCHAR":"",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":4,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":20,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"is_compiled",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":true,
 | 
						|
          "alias_name":"Compiled",
 | 
						|
          "expr_name":"is_compiled",
 | 
						|
          "default": {
 | 
						|
            "VARCHAR":"",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":20,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511639807,
 | 
						|
            "column_id":21,
 | 
						|
            "database_name":"oceanbase",
 | 
						|
            "table_name":"__tenant_virtual_collation",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"sortlen",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":true,
 | 
						|
          "alias_name":"Sortlen",
 | 
						|
          "expr_name":"sortlen",
 | 
						|
          "default": {
 | 
						|
            "BIGINT":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511639807,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":0,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":0,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 22   ***************
 | 
						|
insert t1 values(3, default)
 | 
						|
{
 | 
						|
  "stmt_type":2,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "table_name":"t1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677877,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "index_tid":1099511677877,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_OP_ADD",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":12,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677877,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_INT",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":1,
 | 
						|
                "precision":1,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "CNT_CONST"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "BIGINT":1
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "all_table_columns": [
 | 
						|
     {
 | 
						|
      "table_name":"t1",
 | 
						|
      "index_dml_infos": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677877,
 | 
						|
          "index_tid":1099511677877,
 | 
						|
          "index_name":"t1",
 | 
						|
          "rowkey_cnt":1,
 | 
						|
          "part_cnt":3,
 | 
						|
          "column_exprs": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677877,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t1",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c1",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":1,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677877,
 | 
						|
              "column_id":17,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t1",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":0,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":1,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "assignments": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "is_ignore":false,
 | 
						|
  "primary_key_ids": [
 | 
						|
  ],
 | 
						|
  "column_conv": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_COLUMN_CONV",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_FUNC",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_FUNC"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "func":"column_conv",
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_INT32",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "INT":4
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_INT32",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "INT":63
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_INT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "BIGINT":51539607551
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_TINYINT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"TINYINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "TINYINT":0
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":16515,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "table_id":1099511677877,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"",
 | 
						|
          "table_name":"__values",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":false,
 | 
						|
          "explicited_ref_count":0,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "enum_set_values": [
 | 
						|
      ]
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_COLUMN_CONV",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_FUNC",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_FUNC"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "func":"column_conv",
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_INT32",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "INT":4
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_INT32",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "INT":63
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_INT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "BIGINT":51539607551
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_TINYINT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"TINYINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "TINYINT":1
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":128,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "table_id":1099511677877,
 | 
						|
          "column_id":17,
 | 
						|
          "database_name":"",
 | 
						|
          "table_name":"__values",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c2",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":false,
 | 
						|
          "explicited_ref_count":0,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "enum_set_values": [
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":0,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "value": [
 | 
						|
     {
 | 
						|
      "item_type":"T_QUESTIONMARK",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_CONST",
 | 
						|
        "IS_PARAM",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_PARAM"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
      ],
 | 
						|
      "value": {
 | 
						|
        "UNKNOWN":0
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_SYS_DEFAULT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_CONST",
 | 
						|
        "IS_FUNC",
 | 
						|
        "IS_CALCULABLE_EXPR",
 | 
						|
        "UNKNOWN",
 | 
						|
        "IS_CONST_EXPR",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_FUNC",
 | 
						|
        "CNT_CALCULABLE_EXPR",
 | 
						|
        "UNKNOWN"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
      ],
 | 
						|
      "func":"default",
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_INT32",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "INT":4
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_INT32",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "INT":63
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_INT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "BIGINT":51539607551
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_TINYINT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"TINYINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "TINYINT":1
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_NULL",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "enum_set_values": [
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ]
 | 
						|
}
 | 
						|
***************   Case 23   ***************
 | 
						|
select -(5)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_INT",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":1,
 | 
						|
            "precision":2,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "CNT_CONST"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "BIGINT":-5
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"-(5)",
 | 
						|
      "expr_name":"-(5)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 24   ***************
 | 
						|
select -(1.5)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_NUMBER",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":3,
 | 
						|
            "precision":3,
 | 
						|
            "scale":1
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "CNT_CONST"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "DECIMAL":"-1.5"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"-(1.5)",
 | 
						|
      "expr_name":"-(1.5)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 25   ***************
 | 
						|
select -(1231*-23)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":8,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"-(1231*-23)",
 | 
						|
      "expr_name":"-(1231*-23)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_NEG",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":8,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_MUL",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":7,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":4,
 | 
						|
                      "precision":4,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":1231
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":2,
 | 
						|
                      "precision":3,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":-23
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 26   ***************
 | 
						|
select -(-(-3.45*23.23))
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":8,
 | 
						|
            "scale":4
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"-(-(-3.45*23.23))",
 | 
						|
      "expr_name":"-(-(-3.45*23.23))",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_MUL",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":8,
 | 
						|
              "scale":4
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_NUMBER",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"DECIMAL",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":4,
 | 
						|
                  "precision":4,
 | 
						|
                  "scale":2
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "DECIMAL":"-3.45"
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_NUMBER",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"DECIMAL",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":5,
 | 
						|
                  "precision":4,
 | 
						|
                  "scale":2
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "DECIMAL":"23.23"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 27   ***************
 | 
						|
select -(-1)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_INT",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "CNT_CONST"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "BIGINT":1
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"-(-1)",
 | 
						|
      "expr_name":"-(-1)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 28   ***************
 | 
						|
select (-1) + 1
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":3,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"(-1) + 1",
 | 
						|
      "expr_name":"(-1) + 1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_ADD",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":3,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":2,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":-1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 29   ***************
 | 
						|
select +1 + 1
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":2,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"+1 + 1",
 | 
						|
      "expr_name":"+1 + 1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_ADD",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":2,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 30   ***************
 | 
						|
select (-1) - 1
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":3,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"(-1) - 1",
 | 
						|
      "expr_name":"(-1) - 1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_MINUS",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":3,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":2,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":-1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 31   ***************
 | 
						|
select (-1) / 1
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":6,
 | 
						|
            "scale":4
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"(-1) / 1",
 | 
						|
      "expr_name":"(-1) / 1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_DIV",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":6,
 | 
						|
              "scale":4
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":2,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":-1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 32   ***************
 | 
						|
select (-5) * 5
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":3,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"(-5) * 5",
 | 
						|
      "expr_name":"(-5) * 5",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_MUL",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":3,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":2,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":-5
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":5
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 33   ***************
 | 
						|
select (-1) div 1
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":0,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"(-1) div 1",
 | 
						|
      "expr_name":"(-1) div 1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_INT_DIV",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":0,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":2,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":-1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 34   ***************
 | 
						|
select 5 % 2
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"5 % 2",
 | 
						|
      "expr_name":"5 % 2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_MOD",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":5
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":2
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 35   ***************
 | 
						|
select 1 < 2
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"1 < 2",
 | 
						|
      "expr_name":"1 < 2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_LT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":2
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 36   ***************
 | 
						|
select 1 >= 2
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"1 >= 2",
 | 
						|
      "expr_name":"1 >= 2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_GE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":2
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 37   ***************
 | 
						|
select 1 > 2
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"1 > 2",
 | 
						|
      "expr_name":"1 > 2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_GT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":2
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 38   ***************
 | 
						|
select 1 >= 2
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"1 >= 2",
 | 
						|
      "expr_name":"1 >= 2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_GE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":2
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 39   ***************
 | 
						|
select 1 != 2
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"1 != 2",
 | 
						|
      "expr_name":"1 != 2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_NE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":2
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 40   ***************
 | 
						|
select (1 < 2) or ((3 > 5) and (1 != 1))
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"(1 < 2) or ((3 > 5) and (1 != 1))",
 | 
						|
      "expr_name":"(1 < 2) or ((3 > 5) and (1 != 1))",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_OR",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_OR",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_OR",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_LT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":1
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":2
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_AND",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_OP_GT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CALCULABLE_EXPR",
 | 
						|
                    "IS_CONST_EXPR",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_CALCULABLE_EXPR"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "expr_levels": [
 | 
						|
                  ],
 | 
						|
                  "children": [
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":3
 | 
						|
                      }
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":5
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_OP_NE",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CALCULABLE_EXPR",
 | 
						|
                    "IS_CONST_EXPR",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_CALCULABLE_EXPR"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "expr_levels": [
 | 
						|
                  ],
 | 
						|
                  "children": [
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":1
 | 
						|
                      }
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":1
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ]
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 41   ***************
 | 
						|
select (1 and (1 and (1 or 0)) or (1 and (0 and 1)) and (1 or 0))
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"(1 and (1 and (1 or 0)) or (1 and (0 and 1)) and (1 or 0))",
 | 
						|
      "expr_name":"(1 and (1 and (1 or 0)) or (1 and (0 and 1)) and (1 or 0))",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_OR",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_OR",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_OR",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_AND",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_OR",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":1
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_OP_AND",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":0,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CALCULABLE_EXPR",
 | 
						|
                    "IS_CONST_EXPR",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_OR",
 | 
						|
                    "CNT_CALCULABLE_EXPR"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "expr_levels": [
 | 
						|
                  ],
 | 
						|
                  "children": [
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":1
 | 
						|
                      }
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "item_type":"T_OP_OR",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":0,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_OR",
 | 
						|
                        "IS_CALCULABLE_EXPR",
 | 
						|
                        "IS_CONST_EXPR",
 | 
						|
                        "CNT_CONST",
 | 
						|
                        "CNT_OR",
 | 
						|
                        "CNT_CALCULABLE_EXPR"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "expr_levels": [
 | 
						|
                      ],
 | 
						|
                      "children": [
 | 
						|
                         {
 | 
						|
                          "item_type":"T_INT",
 | 
						|
                          "result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":1,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"NULL",
 | 
						|
                              "collation":"invalid_type",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "expr_info": [
 | 
						|
                            "IS_CONST",
 | 
						|
                            "CNT_CONST"
 | 
						|
                          ],
 | 
						|
                          "rel_id": [
 | 
						|
                          ],
 | 
						|
                          "value": {
 | 
						|
                            "BIGINT":1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "item_type":"T_INT",
 | 
						|
                          "result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":1,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"NULL",
 | 
						|
                              "collation":"invalid_type",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "expr_info": [
 | 
						|
                            "IS_CONST",
 | 
						|
                            "CNT_CONST"
 | 
						|
                          ],
 | 
						|
                          "rel_id": [
 | 
						|
                          ],
 | 
						|
                          "value": {
 | 
						|
                            "BIGINT":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ]
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_AND",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_OR",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_OP_AND",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":0,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CALCULABLE_EXPR",
 | 
						|
                    "IS_CONST_EXPR",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_CALCULABLE_EXPR"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "expr_levels": [
 | 
						|
                  ],
 | 
						|
                  "children": [
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":1
 | 
						|
                      }
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "item_type":"T_OP_AND",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":0,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CALCULABLE_EXPR",
 | 
						|
                        "IS_CONST_EXPR",
 | 
						|
                        "CNT_CONST",
 | 
						|
                        "CNT_CALCULABLE_EXPR"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "expr_levels": [
 | 
						|
                      ],
 | 
						|
                      "children": [
 | 
						|
                         {
 | 
						|
                          "item_type":"T_INT",
 | 
						|
                          "result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":1,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"NULL",
 | 
						|
                              "collation":"invalid_type",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "expr_info": [
 | 
						|
                            "IS_CONST",
 | 
						|
                            "CNT_CONST"
 | 
						|
                          ],
 | 
						|
                          "rel_id": [
 | 
						|
                          ],
 | 
						|
                          "value": {
 | 
						|
                            "BIGINT":0
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "item_type":"T_INT",
 | 
						|
                          "result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":1,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"NULL",
 | 
						|
                              "collation":"invalid_type",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "expr_info": [
 | 
						|
                            "IS_CONST",
 | 
						|
                            "CNT_CONST"
 | 
						|
                          ],
 | 
						|
                          "rel_id": [
 | 
						|
                          ],
 | 
						|
                          "value": {
 | 
						|
                            "BIGINT":1
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_OP_OR",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":0,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_OR",
 | 
						|
                    "IS_CALCULABLE_EXPR",
 | 
						|
                    "IS_CONST_EXPR",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_OR",
 | 
						|
                    "CNT_CALCULABLE_EXPR"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "expr_levels": [
 | 
						|
                  ],
 | 
						|
                  "children": [
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":1
 | 
						|
                      }
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":0
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ]
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 42   ***************
 | 
						|
select (1 and (1 and (1 and 0)))
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"(1 and (1 and (1 and 0)))",
 | 
						|
      "expr_name":"(1 and (1 and (1 and 0)))",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_AND",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_AND",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":1
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_OP_AND",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":0,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CALCULABLE_EXPR",
 | 
						|
                    "IS_CONST_EXPR",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_CALCULABLE_EXPR"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "expr_levels": [
 | 
						|
                  ],
 | 
						|
                  "children": [
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":1
 | 
						|
                      }
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":0
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ]
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 43   ***************
 | 
						|
select 1 or (1 and 0)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"1 or (1 and 0)",
 | 
						|
      "expr_name":"1 or (1 and 0)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_OR",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_OR",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_OR",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_AND",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":1
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":0
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 44   ***************
 | 
						|
select 1 and (1 and 0)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"1 and (1 and 0)",
 | 
						|
      "expr_name":"1 and (1 and 0)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_AND",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_AND",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":1
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":0
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 45   ***************
 | 
						|
select 1 or (1 and 0) or (1 or 2)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_QUESTIONMARK",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_CONST",
 | 
						|
          "IS_PARAM",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "IS_EXEC_PARM"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "value": {
 | 
						|
          "UNKNOWN":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"1 or (1 and 0) or (1 or 2)",
 | 
						|
      "expr_name":"1 or (1 and 0) or (1 or 2)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_OR",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_OR",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_OR",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_OR",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_OR",
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_OR",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":1
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_OP_AND",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":0,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CALCULABLE_EXPR",
 | 
						|
                    "IS_CONST_EXPR",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_CALCULABLE_EXPR"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "expr_levels": [
 | 
						|
                  ],
 | 
						|
                  "children": [
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":1
 | 
						|
                      }
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "item_type":"T_INT",
 | 
						|
                      "result_type": {
 | 
						|
                        "meta": {
 | 
						|
                          "type":"BIGINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "flag":1,
 | 
						|
                        "calc_type": {
 | 
						|
                          "type":"NULL",
 | 
						|
                          "collation":"invalid_type",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                      "expr_info": [
 | 
						|
                        "IS_CONST",
 | 
						|
                        "CNT_CONST"
 | 
						|
                      ],
 | 
						|
                      "rel_id": [
 | 
						|
                      ],
 | 
						|
                      "value": {
 | 
						|
                        "BIGINT":0
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ]
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_OR",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_OR",
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_OR",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":1
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_INT",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "CNT_CONST"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "BIGINT":2
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 46   ***************
 | 
						|
select not(not(1>2))
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_OP_NOT",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":1,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_NOT",
 | 
						|
          "IS_CONST_EXPR",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_PARAM",
 | 
						|
          "CNT_NOT"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_OP_NOT",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":1,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_NOT",
 | 
						|
              "IS_CONST_EXPR",
 | 
						|
              "CNT_CONST",
 | 
						|
              "CNT_PARAM",
 | 
						|
              "CNT_NOT"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_QUESTIONMARK",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":1,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":1,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"BIGINT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_CONST",
 | 
						|
                  "IS_PARAM",
 | 
						|
                  "CNT_CONST",
 | 
						|
                  "CNT_PARAM",
 | 
						|
                  "IS_EXEC_PARM"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                ],
 | 
						|
                "value": {
 | 
						|
                  "UNKNOWN":0
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"not(not(1>2))",
 | 
						|
      "expr_name":"not(not(1>2))",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":2,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_GT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":2
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":0
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 47   ***************
 | 
						|
select c1,c2,sum(c1 + c2) as c4 from t2 group by c1
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":4,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":4,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_SUM",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":12,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_OP_ADD",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":12,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":0,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c1",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                  0
 | 
						|
                ],
 | 
						|
                "column_flags":0,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":4,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c2",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                  0
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":2,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":true,
 | 
						|
      "alias_name":"c4",
 | 
						|
      "expr_name":"sum(c1 + c2)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
     {
 | 
						|
      "item_type":"T_REF_COLUMN",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_COLUMN",
 | 
						|
        "CNT_COLUMN"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column_id":16,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "table_name":"t2",
 | 
						|
      "synonym_name":"",
 | 
						|
      "column_name":"c1",
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "column_flags":0,
 | 
						|
      "is_explicited_referece":true,
 | 
						|
      "explicited_ref_count":4,
 | 
						|
      "enum_set_values": [
 | 
						|
      ],
 | 
						|
      "is_lob_column":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_SUM",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":12,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_ADD",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":12,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c1",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":0,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":4,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":17,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 48   ***************
 | 
						|
select c1,c2,c3 from t2 order by c1 desc limit 3,3
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "ascending":"DESC"
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "limit": {
 | 
						|
    "item_type":"T_INT",
 | 
						|
    "result_type": {
 | 
						|
      "meta": {
 | 
						|
        "type":"BIGINT",
 | 
						|
        "collation":"binary",
 | 
						|
        "coercibility":"NUMERIC"
 | 
						|
      },
 | 
						|
      "accuracy": {
 | 
						|
        "length":1,
 | 
						|
        "precision":1,
 | 
						|
        "scale":0
 | 
						|
      },
 | 
						|
      "flag":1,
 | 
						|
      "calc_type": {
 | 
						|
        "type":"NULL",
 | 
						|
        "collation":"invalid_type",
 | 
						|
        "coercibility":"INVALID"
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "expr_info": [
 | 
						|
      "IS_CONST",
 | 
						|
      "CNT_CONST"
 | 
						|
    ],
 | 
						|
    "rel_id": [
 | 
						|
    ],
 | 
						|
    "value": {
 | 
						|
      "BIGINT":3
 | 
						|
    }
 | 
						|
  },
 | 
						|
  "offset": {
 | 
						|
    "item_type":"T_QUESTIONMARK",
 | 
						|
    "result_type": {
 | 
						|
      "meta": {
 | 
						|
        "type":"BIGINT",
 | 
						|
        "collation":"binary",
 | 
						|
        "coercibility":"NUMERIC"
 | 
						|
      },
 | 
						|
      "accuracy": {
 | 
						|
        "length":1,
 | 
						|
        "precision":1,
 | 
						|
        "scale":0
 | 
						|
      },
 | 
						|
      "flag":1,
 | 
						|
      "calc_type": {
 | 
						|
        "type":"NULL",
 | 
						|
        "collation":"invalid_type",
 | 
						|
        "coercibility":"INVALID"
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "expr_info": [
 | 
						|
      "IS_CONST",
 | 
						|
      "IS_PARAM",
 | 
						|
      "CNT_CONST",
 | 
						|
      "CNT_PARAM"
 | 
						|
    ],
 | 
						|
    "rel_id": [
 | 
						|
    ],
 | 
						|
    "value": {
 | 
						|
      "UNKNOWN":0
 | 
						|
    }
 | 
						|
  },
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 49   ***************
 | 
						|
select * from t2 where not(c1 > 1 and c2 > 1)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_OR",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_OR",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_OR"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_LE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_RANGE_COND"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c1",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":0,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_LE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_RANGE_COND"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":17,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":2,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 50   ***************
 | 
						|
select * from t2 where (c1 > 1 and c2 > 1) and c3 >1
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_GT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_RANGE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_GT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_RANGE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":17,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c2",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":1
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_GT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_RANGE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_EXEC_PARM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":3
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":4,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"to_type",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":2
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":3
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 51   ***************
 | 
						|
select * from t2 where (c1 > 1 or c2 > 1) and c3 >1
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_OR",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_OR",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_OR"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_GT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_RANGE_COND"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c1",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":0,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_GT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_RANGE_COND"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":17,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_GT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_RANGE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_EXEC_PARM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":3
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":4,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"to_type",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":2
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":3
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 52   ***************
 | 
						|
select * from t2 where c1 > 1 or (c1 > 1 and c2 > 1)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":3,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":3,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_OR",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_OR",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_OR"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_GT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_RANGE_COND"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c1",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":0,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":3,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_AND",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_GT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"DECIMAL",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_COLUMN",
 | 
						|
                "CNT_PARAM",
 | 
						|
                "IS_RANGE_COND"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_REF_COLUMN",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":11,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":0,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_COLUMN",
 | 
						|
                    "CNT_COLUMN"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677878,
 | 
						|
                  "column_id":16,
 | 
						|
                  "database_name":"expr_db",
 | 
						|
                  "table_name":"t2",
 | 
						|
                  "synonym_name":"",
 | 
						|
                  "column_name":"c1",
 | 
						|
                  "expr_level":0,
 | 
						|
                  "expr_levels": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "column_flags":0,
 | 
						|
                  "is_explicited_referece":true,
 | 
						|
                  "explicited_ref_count":3,
 | 
						|
                  "enum_set_values": [
 | 
						|
                  ],
 | 
						|
                  "is_lob_column":false
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":1
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_GT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"DECIMAL",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_COLUMN",
 | 
						|
                "CNT_PARAM",
 | 
						|
                "IS_RANGE_COND"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_REF_COLUMN",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":11,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":16387,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_COLUMN",
 | 
						|
                    "CNT_COLUMN"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677878,
 | 
						|
                  "column_id":17,
 | 
						|
                  "database_name":"expr_db",
 | 
						|
                  "table_name":"t2",
 | 
						|
                  "synonym_name":"",
 | 
						|
                  "column_name":"c2",
 | 
						|
                  "expr_level":0,
 | 
						|
                  "expr_levels": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "column_flags":17179869184,
 | 
						|
                  "is_explicited_referece":true,
 | 
						|
                  "explicited_ref_count":2,
 | 
						|
                  "enum_set_values": [
 | 
						|
                  ],
 | 
						|
                  "is_lob_column":false
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":2
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":3,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 53   ***************
 | 
						|
select * from t1 where (c1 > 1 and c2 > 1) or (c1 > 1 and c2 > 1)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "table_name":"t1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677877,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "index_tid":1099511677877,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_OP_ADD",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":12,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677877,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":3,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_INT",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":1,
 | 
						|
                "precision":1,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "CNT_CONST"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "BIGINT":1
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677877,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":3,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677877,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":3,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":3,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":3,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_OR",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_OR",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_OR"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_AND",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_GT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"DECIMAL",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_COLUMN",
 | 
						|
                "CNT_PARAM",
 | 
						|
                "IS_RANGE_COND"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_REF_COLUMN",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":11,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":16387,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_COLUMN",
 | 
						|
                    "CNT_COLUMN"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677877,
 | 
						|
                  "column_id":16,
 | 
						|
                  "database_name":"expr_db",
 | 
						|
                  "table_name":"t1",
 | 
						|
                  "synonym_name":"",
 | 
						|
                  "column_name":"c1",
 | 
						|
                  "expr_level":0,
 | 
						|
                  "expr_levels": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "column_flags":17179869184,
 | 
						|
                  "is_explicited_referece":true,
 | 
						|
                  "explicited_ref_count":3,
 | 
						|
                  "enum_set_values": [
 | 
						|
                  ],
 | 
						|
                  "is_lob_column":false
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":0
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_GT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"DECIMAL",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_COLUMN",
 | 
						|
                "CNT_PARAM",
 | 
						|
                "IS_RANGE_COND"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_REF_COLUMN",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":11,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":0,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_COLUMN",
 | 
						|
                    "CNT_COLUMN"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677877,
 | 
						|
                  "column_id":17,
 | 
						|
                  "database_name":"expr_db",
 | 
						|
                  "table_name":"t1",
 | 
						|
                  "synonym_name":"",
 | 
						|
                  "column_name":"c2",
 | 
						|
                  "expr_level":0,
 | 
						|
                  "expr_levels": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "column_flags":0,
 | 
						|
                  "is_explicited_referece":true,
 | 
						|
                  "explicited_ref_count":3,
 | 
						|
                  "enum_set_values": [
 | 
						|
                  ],
 | 
						|
                  "is_lob_column":false
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":1
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_AND",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_GT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"DECIMAL",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_COLUMN",
 | 
						|
                "CNT_PARAM",
 | 
						|
                "IS_RANGE_COND"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_REF_COLUMN",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":11,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":16387,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_COLUMN",
 | 
						|
                    "CNT_COLUMN"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677877,
 | 
						|
                  "column_id":16,
 | 
						|
                  "database_name":"expr_db",
 | 
						|
                  "table_name":"t1",
 | 
						|
                  "synonym_name":"",
 | 
						|
                  "column_name":"c1",
 | 
						|
                  "expr_level":0,
 | 
						|
                  "expr_levels": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "column_flags":17179869184,
 | 
						|
                  "is_explicited_referece":true,
 | 
						|
                  "explicited_ref_count":3,
 | 
						|
                  "enum_set_values": [
 | 
						|
                  ],
 | 
						|
                  "is_lob_column":false
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":2
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_GT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"DECIMAL",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_COLUMN",
 | 
						|
                "CNT_PARAM",
 | 
						|
                "IS_RANGE_COND"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_REF_COLUMN",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":11,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":0,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_COLUMN",
 | 
						|
                    "CNT_COLUMN"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677877,
 | 
						|
                  "column_id":17,
 | 
						|
                  "database_name":"expr_db",
 | 
						|
                  "table_name":"t1",
 | 
						|
                  "synonym_name":"",
 | 
						|
                  "column_name":"c2",
 | 
						|
                  "expr_level":0,
 | 
						|
                  "expr_levels": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "column_flags":0,
 | 
						|
                  "is_explicited_referece":true,
 | 
						|
                  "explicited_ref_count":3,
 | 
						|
                  "enum_set_values": [
 | 
						|
                  ],
 | 
						|
                  "is_lob_column":false
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":3
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":4,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 54   ***************
 | 
						|
select c1, c2 from t1 where c1 <= all(select c2 from t1)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "table_name":"t1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677877,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "index_tid":1099511677877,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_OP_ADD",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":12,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677877,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_INT",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":1,
 | 
						|
                "precision":1,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "CNT_CONST"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "BIGINT":1
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677877,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677877,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_SQ_LE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"TINYINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":4,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_SUB_QUERY",
 | 
						|
        "IS_WITH_ALL"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0,
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677877,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t1",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":true,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"t1",
 | 
						|
          "alias_name":"t1",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677877,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "index_tid":1099511677877,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_OP_ADD",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":12,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "CNT_CONST",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t1",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c1",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_INT",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"BIGINT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":1,
 | 
						|
                    "precision":1,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":1,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_CONST",
 | 
						|
                  "CNT_CONST"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                ],
 | 
						|
                "value": {
 | 
						|
                  "BIGINT":1
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677877,
 | 
						|
          "base_cid":16,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677877,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":false,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"c2",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":1,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 55   ***************
 | 
						|
select c1, c2 from t1 where c1 <= any(select c2 from t1)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "table_name":"t1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677877,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "index_tid":1099511677877,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_OP_ADD",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":12,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677877,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_INT",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":1,
 | 
						|
                "precision":1,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "CNT_CONST"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "BIGINT":1
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677877,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677877,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_SQ_LE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"TINYINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":4,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_SUB_QUERY",
 | 
						|
        "IS_WITH_ANY"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0,
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677877,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t1",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":true,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"t1",
 | 
						|
          "alias_name":"t1",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677877,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "index_tid":1099511677877,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_OP_ADD",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":12,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "CNT_CONST",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t1",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c1",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_INT",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"BIGINT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":1,
 | 
						|
                    "precision":1,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":1,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_CONST",
 | 
						|
                  "CNT_CONST"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                ],
 | 
						|
                "value": {
 | 
						|
                  "BIGINT":1
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677877,
 | 
						|
          "base_cid":16,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677877,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":false,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"c2",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":1,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 56   ***************
 | 
						|
select c1, c2 from t2 where c1 <= some(select c2 from t2)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_SQ_LE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"TINYINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":4,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_SUB_QUERY",
 | 
						|
        "IS_WITH_ANY"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0,
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":true,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"t2",
 | 
						|
          "alias_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677878,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "index_tid":1099511677878,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_FUNC",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_FUNC"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "func":"partition_key_v2",
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c2",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":1,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"IMPLICIT"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":32,
 | 
						|
                    "precision":-1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":18,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c3",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "enum_set_values": [
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":18,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":18,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":false,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"c2",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":1,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 57   ***************
 | 
						|
select count(*) from t2 where t2.c2 in (select c1 from t2)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_COUNT",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":20,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"count(*)",
 | 
						|
      "expr_name":"count(*)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_SQ_EQ",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"TINYINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":4,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_SUB_QUERY",
 | 
						|
        "IS_WITH_ANY"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0,
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":17,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c2",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":true,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_COUNT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":20,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"t2",
 | 
						|
          "alias_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677878,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "index_tid":1099511677878,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_FUNC",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_FUNC"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "func":"partition_key_v2",
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c2",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"IMPLICIT"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":32,
 | 
						|
                    "precision":-1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":18,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c3",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "enum_set_values": [
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":18,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":18,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":16,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":false,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"c1",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":1,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 58   ***************
 | 
						|
select count(*) from t2 where t2.c1 not in (select c1 from t2)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_COUNT",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":20,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"count(*)",
 | 
						|
      "expr_name":"count(*)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_SQ_NE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"TINYINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":4,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_SUB_QUERY",
 | 
						|
        "IS_WITH_ALL"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0,
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":true,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_COUNT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":20,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"t2",
 | 
						|
          "alias_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677878,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "index_tid":1099511677878,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_FUNC",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_FUNC"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "func":"partition_key_v2",
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c2",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"IMPLICIT"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":32,
 | 
						|
                    "precision":-1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":18,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c3",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "enum_set_values": [
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":18,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":18,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":16,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":false,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"c1",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":1,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 59   ***************
 | 
						|
select count(*) from t2 where exists (select c1 from t2)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_COUNT",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":20,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"count(*)",
 | 
						|
      "expr_name":"count(*)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_EXISTS",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_SUB_QUERY"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":true,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_COUNT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":20,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"t2",
 | 
						|
          "alias_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677878,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "index_tid":1099511677878,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_FUNC",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_FUNC"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "func":"partition_key_v2",
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c2",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"IMPLICIT"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":32,
 | 
						|
                    "precision":-1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":18,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c3",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "enum_set_values": [
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":18,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":18,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":16,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":false,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"c1",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":1,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 60   ***************
 | 
						|
select c1,c2 from t2 where c2!=100
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_NE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":17,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c2",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":3,
 | 
						|
              "precision":3,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 61   ***************
 | 
						|
select c1,c2 from t2 where c2 = -(100%3)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_EQ",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_SIMPLE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":17,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c2",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":4,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_EXEC_PARM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":2
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":3,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_OP_NEG",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":4,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_MOD",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":3,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":3,
 | 
						|
                      "precision":3,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":0
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":1
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":2
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 62   ***************
 | 
						|
select c1,c2 from t2 where c3 = NULL
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_EQ",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"VARCHAR",
 | 
						|
          "collation":"utf8mb4_general_ci",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_SIMPLE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"IGNORABLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":0,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 63   ***************
 | 
						|
select c1,c2 from t2 where c1 between 100 and 200
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_BTW",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_RANGE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":3,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_EXEC_PARM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":2
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":3,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_EXEC_PARM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":3
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":4,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":3,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"to_type",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":3,
 | 
						|
                  "precision":3,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":2
 | 
						|
      },
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":3,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"to_type",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":3,
 | 
						|
                  "precision":3,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":3
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 64   ***************
 | 
						|
select c1,c2 from t2 where c2 <> 100
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_NE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":17,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c2",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":3,
 | 
						|
              "precision":3,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 65   ***************
 | 
						|
select c1,c2 from t2 where c2 <> 100 or c1 = 100
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_OR",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_OR",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_OR"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_NE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":17,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":3,
 | 
						|
                  "precision":3,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_EQ",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_SIMPLE_COND"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c1",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":0,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":3,
 | 
						|
                  "precision":3,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":2,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 66   ***************
 | 
						|
select c1,c2 from t2 where c2 != 100 or c1 = 100 and c3 = "aa"
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_OR",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_OR",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_OR"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_NE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":17,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":3,
 | 
						|
                  "precision":3,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_AND",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_EQ",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"DECIMAL",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_COLUMN",
 | 
						|
                "CNT_PARAM",
 | 
						|
                "IS_SIMPLE_COND"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_REF_COLUMN",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":11,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":0,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_COLUMN",
 | 
						|
                    "CNT_COLUMN"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677878,
 | 
						|
                  "column_id":16,
 | 
						|
                  "database_name":"expr_db",
 | 
						|
                  "table_name":"t2",
 | 
						|
                  "synonym_name":"",
 | 
						|
                  "column_name":"c1",
 | 
						|
                  "expr_level":0,
 | 
						|
                  "expr_levels": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "column_flags":0,
 | 
						|
                  "is_explicited_referece":true,
 | 
						|
                  "explicited_ref_count":2,
 | 
						|
                  "enum_set_values": [
 | 
						|
                  ],
 | 
						|
                  "is_lob_column":false
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":3,
 | 
						|
                      "precision":3,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":1
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_EQ",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"IMPLICIT"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_COLUMN",
 | 
						|
                "CNT_PARAM",
 | 
						|
                "IS_SIMPLE_COND"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_REF_COLUMN",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"VARCHAR",
 | 
						|
                      "collation":"utf8mb4_general_ci",
 | 
						|
                      "coercibility":"IMPLICIT"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":32,
 | 
						|
                      "precision":-1,
 | 
						|
                      "scale":-1
 | 
						|
                    },
 | 
						|
                    "flag":16387,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_COLUMN",
 | 
						|
                    "CNT_COLUMN"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677878,
 | 
						|
                  "column_id":18,
 | 
						|
                  "database_name":"expr_db",
 | 
						|
                  "table_name":"t2",
 | 
						|
                  "synonym_name":"",
 | 
						|
                  "column_name":"c3",
 | 
						|
                  "expr_level":0,
 | 
						|
                  "expr_levels": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "column_flags":17179869184,
 | 
						|
                  "is_explicited_referece":true,
 | 
						|
                  "explicited_ref_count":1,
 | 
						|
                  "enum_set_values": [
 | 
						|
                  ],
 | 
						|
                  "is_lob_column":false
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"VARCHAR",
 | 
						|
                      "collation":"utf8mb4_general_ci",
 | 
						|
                      "coercibility":"COERCIBLE"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":2,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":-1
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":2
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":3,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 67   ***************
 | 
						|
select c1,c2 from t2 where c1 in(10,100)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_IN",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_IN",
 | 
						|
        "CNT_CONST_EXPR",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_IN"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_ROW",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":2,
 | 
						|
                  "precision":2,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":3,
 | 
						|
                  "precision":3,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":2,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 68   ***************
 | 
						|
select c1,c2 from t2 where c2 not in (10,100)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_NOT_IN",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_IN",
 | 
						|
        "CNT_CONST_EXPR",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_IN"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":17,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c2",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_ROW",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":2,
 | 
						|
                  "precision":2,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":3,
 | 
						|
                  "precision":3,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":2,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 69   ***************
 | 
						|
select * from t2 where c3 regexp '^a'
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_REGEXP",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"utf8mb4_general_ci",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":2,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 70   ***************
 | 
						|
select * from t2 where c3 not regexp 'm'
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_NOT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_NOT",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_NOT"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_REGEXP",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"IMPLICIT"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":32,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":18,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c3",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"COERCIBLE"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 71   ***************
 | 
						|
select c1 from t2 where c3 regexp '1000|2000'
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_REGEXP",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"utf8mb4_general_ci",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":9,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 72   ***************
 | 
						|
select * from t2 where c3 like '%m%'
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_LIKE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"VARCHAR",
 | 
						|
          "collation":"utf8mb4_general_ci",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":3,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_VARCHAR",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "VARCHAR":"\",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 73   ***************
 | 
						|
select * from t2 where c3 not like '_'
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_NOT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_NOT",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_NOT"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_LIKE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"IMPLICIT"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":32,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":18,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c3",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"COERCIBLE"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_VARCHAR",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"COERCIBLE"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "VARCHAR":"\",
 | 
						|
                "collation":"utf8mb4_general_ci"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 74   ***************
 | 
						|
select * from t2 where c3 not like "ss"
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_NOT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_NOT",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_NOT"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_LIKE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"IMPLICIT"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":32,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":18,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c3",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"COERCIBLE"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":2,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_VARCHAR",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"COERCIBLE"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "VARCHAR":"\",
 | 
						|
                "collation":"utf8mb4_general_ci"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 75   ***************
 | 
						|
select * from t2 where c3 not like 2
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_NOT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_NOT",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_NOT"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_LIKE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"IMPLICIT"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":32,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":18,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c3",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"COERCIBLE"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM",
 | 
						|
                "IS_EXEC_PARM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_VARCHAR",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"COERCIBLE"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "VARCHAR":"\",
 | 
						|
                "collation":"utf8mb4_general_ci"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":2,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"to_type",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":1
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 76   ***************
 | 
						|
select * from t2 where c3 like "//" ESCAPE "/"
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_LIKE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"VARCHAR",
 | 
						|
          "collation":"utf8mb4_general_ci",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":2,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":1
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":2,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 77   ***************
 | 
						|
select * from t2 where c3 like '//' escape 2
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_LIKE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"VARCHAR",
 | 
						|
          "collation":"utf8mb4_general_ci",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":2,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_EXEC_PARM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":2
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":3,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"to_type",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":2
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 78   ***************
 | 
						|
select c1,c2 from t2 where c1 between 1 and 10
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_BTW",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_RANGE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_EXEC_PARM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":2
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":2,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_EXEC_PARM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":3
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":4,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"to_type",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":2
 | 
						|
      },
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":2,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"to_type",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":2,
 | 
						|
                  "precision":2,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":3
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 79   ***************
 | 
						|
select c1,c2 from t2 where c1 not between 1 and 10
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_NOT_BTW",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_EXEC_PARM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":2
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":2,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_EXEC_PARM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":3
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":4,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"to_type",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":2
 | 
						|
      },
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":2,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"to_type",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":2,
 | 
						|
                  "precision":2,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":1
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":3
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 80   ***************
 | 
						|
select c1,c2 from t2 where c3 not between "aaa" and "bbb"
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_NOT_BTW",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"VARCHAR",
 | 
						|
          "collation":"utf8mb4_general_ci",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":3,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":3,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":1
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":2,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 81   ***************
 | 
						|
select CASE c3 WHEN 'name1' THEN 'name2' WHEN 'name2' THEN 'name3' ELSE 'name4' END as c3 from t2;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_OP_ARG_CASE",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"COERCIBLE"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":5,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "arg_case": {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
        "default": {
 | 
						|
          "item_type":"T_VARCHAR",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":5,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "CNT_CONST"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "VARCHAR":"name4",
 | 
						|
            "collation":"utf8mb4_general_ci"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "when": [
 | 
						|
           {
 | 
						|
            "item_type":"T_VARCHAR",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"COERCIBLE"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":5,
 | 
						|
                "precision":1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "CNT_CONST"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "VARCHAR":"name1",
 | 
						|
              "collation":"utf8mb4_general_ci"
 | 
						|
            }
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_VARCHAR",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"COERCIBLE"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":5,
 | 
						|
                "precision":1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "CNT_CONST"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "VARCHAR":"name2",
 | 
						|
              "collation":"utf8mb4_general_ci"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "then": [
 | 
						|
           {
 | 
						|
            "item_type":"T_VARCHAR",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"COERCIBLE"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":5,
 | 
						|
                "precision":1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "CNT_CONST"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "VARCHAR":"name2",
 | 
						|
              "collation":"utf8mb4_general_ci"
 | 
						|
            }
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_VARCHAR",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"COERCIBLE"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":5,
 | 
						|
                "precision":1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "CNT_CONST"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "VARCHAR":"name3",
 | 
						|
              "collation":"utf8mb4_general_ci"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "decode":false
 | 
						|
      },
 | 
						|
      "is_alias":true,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"CASE c3 WHEN 'name1' THEN 'name2' WHEN 'name2' THEN 'name3' ELSE 'name4' END",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 82   ***************
 | 
						|
select * from t2 order by c1 
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "ascending":"ASC"
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 83   ***************
 | 
						|
select avg(c1) as avg_c1 from t2 where c2 > 10
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_OP_DIV",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":15,
 | 
						|
            "scale":4
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_FUN_SUM",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"DECIMAL",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_AGG",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_AGG"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":0,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c1",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                  0
 | 
						|
                ],
 | 
						|
                "column_flags":0,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":2,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "distinct":false,
 | 
						|
            "order_by": [
 | 
						|
            ],
 | 
						|
            "separator_param_expr":null,
 | 
						|
            "udf_meta": {
 | 
						|
              "tenant_id":-1,
 | 
						|
              "name":"",
 | 
						|
              "ret":0,
 | 
						|
              "dl":"",
 | 
						|
              "type":0
 | 
						|
            }
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_FUN_COUNT",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":20,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_AGG",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_AGG"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":0,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c1",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                  0
 | 
						|
                ],
 | 
						|
                "column_flags":0,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":2,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "distinct":false,
 | 
						|
            "order_by": [
 | 
						|
            ],
 | 
						|
            "separator_param_expr":null,
 | 
						|
            "udf_meta": {
 | 
						|
              "tenant_id":-1,
 | 
						|
              "name":"",
 | 
						|
              "ret":0,
 | 
						|
              "dl":"",
 | 
						|
              "type":0
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "is_alias":true,
 | 
						|
      "alias_name":"avg_c1",
 | 
						|
      "expr_name":"avg(c1)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_GT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_RANGE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":17,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c2",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":2,
 | 
						|
              "precision":2,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_SUM",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_COUNT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":20,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 84   ***************
 | 
						|
select avg(distinct c1) as ds from t2 where c3 = "aa"
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_OP_DIV",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":15,
 | 
						|
            "scale":4
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_FUN_SUM",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"DECIMAL",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_AGG",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_AGG"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":0,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c1",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                  0
 | 
						|
                ],
 | 
						|
                "column_flags":0,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":2,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "distinct":true,
 | 
						|
            "order_by": [
 | 
						|
            ],
 | 
						|
            "separator_param_expr":null,
 | 
						|
            "udf_meta": {
 | 
						|
              "tenant_id":-1,
 | 
						|
              "name":"",
 | 
						|
              "ret":0,
 | 
						|
              "dl":"",
 | 
						|
              "type":0
 | 
						|
            }
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_FUN_COUNT",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":20,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_AGG",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_AGG"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":0,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c1",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                  0
 | 
						|
                ],
 | 
						|
                "column_flags":0,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":2,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "distinct":true,
 | 
						|
            "order_by": [
 | 
						|
            ],
 | 
						|
            "separator_param_expr":null,
 | 
						|
            "udf_meta": {
 | 
						|
              "tenant_id":-1,
 | 
						|
              "name":"",
 | 
						|
              "ret":0,
 | 
						|
              "dl":"",
 | 
						|
              "type":0
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "is_alias":true,
 | 
						|
      "alias_name":"ds",
 | 
						|
      "expr_name":"avg(distinct c1)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_EQ",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"VARCHAR",
 | 
						|
          "collation":"utf8mb4_general_ci",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_SIMPLE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":2,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_SUM",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":true,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_COUNT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":20,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":true,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 85   ***************
 | 
						|
select count(*) from (select c1 from t2) as cc where cc.c1 = 1
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":-2,
 | 
						|
      "table_name":"cc",
 | 
						|
      "alias_name":"cc",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":-2,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"cc",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_COUNT",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":20,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"count(*)",
 | 
						|
      "expr_name":"count(*)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":-2,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_EQ",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_SIMPLE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":-2,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"",
 | 
						|
          "table_name":"cc",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":1,
 | 
						|
              "precision":1,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_COUNT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":20,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "table_name":"t2",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677878,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "index_tid":1099511677878,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_FUNC",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_FUNC"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "func":"partition_key_v2",
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c2",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"IMPLICIT"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":32,
 | 
						|
                    "precision":-1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":18,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c3",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "enum_set_values": [
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":18,
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":18,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":16,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":false,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"c1",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":1,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":0,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 86   ***************
 | 
						|
select count(c1) from t2 where c3 = "aa"
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_COUNT",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":20,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"count(c1)",
 | 
						|
      "expr_name":"count(c1)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_EQ",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"VARCHAR",
 | 
						|
          "collation":"utf8mb4_general_ci",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_SIMPLE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":2,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_COUNT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":20,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 87   ***************
 | 
						|
select max(c1) from t2 where c1 not in (select c2 from t2)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_MAX",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"max(c1)",
 | 
						|
      "expr_name":"max(c1)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_SQ_NE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"TINYINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":4,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_SUB_QUERY",
 | 
						|
        "IS_WITH_ALL"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0,
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":true,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_MAX",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"t2",
 | 
						|
          "alias_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677878,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "index_tid":1099511677878,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_FUNC",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_FUNC"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "func":"partition_key_v2",
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c2",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":1,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"IMPLICIT"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":32,
 | 
						|
                    "precision":-1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":18,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c3",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "enum_set_values": [
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":18,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":18,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":false,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"c2",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":1,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 88   ***************
 | 
						|
select min(c1) from t2 where c1 not in (select c2 from t2)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_MIN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"min(c1)",
 | 
						|
      "expr_name":"min(c1)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_SQ_NE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"TINYINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":4,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_SUB_QUERY",
 | 
						|
        "IS_WITH_ALL"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0,
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":true,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_MIN",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"t2",
 | 
						|
          "alias_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677878,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "index_tid":1099511677878,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_FUNC",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_FUNC"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "func":"partition_key_v2",
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c2",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":1,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"IMPLICIT"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":32,
 | 
						|
                    "precision":-1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":18,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c3",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "enum_set_values": [
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":18,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":18,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":false,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"c2",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":1,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 89   ***************
 | 
						|
select sum(c1) as sum_c1 from t2 where c1 > 10
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_SUM",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":true,
 | 
						|
      "alias_name":"sum_c1",
 | 
						|
      "expr_name":"sum(c1)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_GT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_RANGE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":2,
 | 
						|
              "precision":2,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_SUM",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 90   ***************
 | 
						|
select count(*) as num, min(c1) as c1_min, max(c1) as max_c1, avg(c1) as c1_avg from t2 where c3 = "aa"
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":4,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_COUNT",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":20,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":true,
 | 
						|
      "alias_name":"num",
 | 
						|
      "expr_name":"count(*)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_MIN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":4,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":true,
 | 
						|
      "alias_name":"c1_min",
 | 
						|
      "expr_name":"min(c1)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_FUN_MAX",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_AGG",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":0,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":4,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "distinct":false,
 | 
						|
        "order_by": [
 | 
						|
        ],
 | 
						|
        "separator_param_expr":null,
 | 
						|
        "udf_meta": {
 | 
						|
          "tenant_id":-1,
 | 
						|
          "name":"",
 | 
						|
          "ret":0,
 | 
						|
          "dl":"",
 | 
						|
          "type":0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "is_alias":true,
 | 
						|
      "alias_name":"max_c1",
 | 
						|
      "expr_name":"max(c1)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_OP_DIV",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":15,
 | 
						|
            "scale":4
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"DECIMAL",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_AGG"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_FUN_SUM",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"DECIMAL",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_AGG",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_AGG"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":0,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c1",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                  0
 | 
						|
                ],
 | 
						|
                "column_flags":0,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":4,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "distinct":false,
 | 
						|
            "order_by": [
 | 
						|
            ],
 | 
						|
            "separator_param_expr":null,
 | 
						|
            "udf_meta": {
 | 
						|
              "tenant_id":-1,
 | 
						|
              "name":"",
 | 
						|
              "ret":0,
 | 
						|
              "dl":"",
 | 
						|
              "type":0
 | 
						|
            }
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_FUN_COUNT",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":20,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_AGG",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_AGG"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":0,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c1",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                  0
 | 
						|
                ],
 | 
						|
                "column_flags":0,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":4,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "distinct":false,
 | 
						|
            "order_by": [
 | 
						|
            ],
 | 
						|
            "separator_param_expr":null,
 | 
						|
            "udf_meta": {
 | 
						|
              "tenant_id":-1,
 | 
						|
              "name":"",
 | 
						|
              "ret":0,
 | 
						|
              "dl":"",
 | 
						|
              "type":0
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "is_alias":true,
 | 
						|
      "alias_name":"c1_avg",
 | 
						|
      "expr_name":"avg(c1)",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_EQ",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"VARCHAR",
 | 
						|
          "collation":"utf8mb4_general_ci",
 | 
						|
          "coercibility":"IMPLICIT"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_SIMPLE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":18,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":17179869184,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":2,
 | 
						|
              "precision":1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_COUNT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":20,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_MIN",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":4,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_MAX",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":4,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_SUM",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":11,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":4,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "item_type":"T_FUN_COUNT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":20,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_AGG",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_AGG"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_level":0,
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":4,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "separator_param_expr":null,
 | 
						|
      "udf_meta": {
 | 
						|
        "tenant_id":-1,
 | 
						|
        "name":"",
 | 
						|
        "ret":0,
 | 
						|
        "dl":"",
 | 
						|
        "type":0
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":1,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 91   ***************
 | 
						|
select concat (c3, '(', c2 ,')') as ncc from t2 order by c1
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_OP_CNN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":45,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "func":"concat",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_VARCHAR",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"COERCIBLE"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":1,
 | 
						|
                "precision":1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "CNT_CONST"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "VARCHAR":"(",
 | 
						|
              "collation":"utf8mb4_general_ci"
 | 
						|
            }
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_VARCHAR",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"COERCIBLE"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":1,
 | 
						|
                "precision":1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "CNT_CONST"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "VARCHAR":")",
 | 
						|
              "collation":"utf8mb4_general_ci"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "is_alias":true,
 | 
						|
      "alias_name":"ncc",
 | 
						|
      "expr_name":"concat (c3, '(', c2 ,')')",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "ascending":"ASC"
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 92   ***************
 | 
						|
update t2 set c3 = "aaa" where c1 > all(select c1 from t1)
 | 
						|
{
 | 
						|
  "stmt_type":5,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "is_ignore":false,
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "input_columns": [
 | 
						|
     {
 | 
						|
      "table_name":"t2",
 | 
						|
      "index_dml_infos": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "index_tid":1099511677878,
 | 
						|
          "index_name":"t2",
 | 
						|
          "rowkey_cnt":2,
 | 
						|
          "part_cnt":3,
 | 
						|
          "column_exprs": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":17,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":1,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"IMPLICIT"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":32,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":18,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c3",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":1,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c1",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":0,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "assignments": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "assign": [
 | 
						|
     {
 | 
						|
      "table": {
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "table_name":"t2",
 | 
						|
        "alias_name":"",
 | 
						|
        "synonym_name":"",
 | 
						|
        "table_type":0,
 | 
						|
        "ref_id":1099511677878,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "for_update":false,
 | 
						|
        "wait":-1,
 | 
						|
        "mock_id":-1,
 | 
						|
        "view_base_item":-1
 | 
						|
      },
 | 
						|
      "assign": [
 | 
						|
         {
 | 
						|
          "column": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_QUESTIONMARK",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "IS_PARAM",
 | 
						|
              "CNT_CONST",
 | 
						|
              "CNT_PARAM",
 | 
						|
              "IS_EXEC_PARM"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "UNKNOWN":1
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "base_table_id":1099511677878,
 | 
						|
          "base_column_id":18
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "is_update_part_key":true,
 | 
						|
      "subquery_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_SQ_GT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"TINYINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":4,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_SUB_QUERY",
 | 
						|
        "IS_WITH_ALL"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0,
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":true,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":0,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":2,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_COLUMN_CONV",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":32,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"column_conv",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_INT32",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "INT":22
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT32",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "INT":45
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_INT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "BIGINT":-4294967264
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_TINYINT",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"TINYINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "TINYINT":0
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"COERCIBLE"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":3,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":1
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
***************   Case 93   ***************
 | 
						|
select c1 as cc1 from t2 where c1 > (select c2 as cc2 from t2)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":false,
 | 
						|
        "explicited_ref_count":0,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":true,
 | 
						|
      "alias_name":"cc1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_GT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_SUB_QUERY",
 | 
						|
        "IS_WITH_SUBQUERY"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0,
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":16387,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":false,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"t2",
 | 
						|
          "alias_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677878,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "index_tid":1099511677878,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_FUNC",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_FUNC"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "func":"partition_key_v2",
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c2",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":1,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"IMPLICIT"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":32,
 | 
						|
                    "precision":-1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":-2,
 | 
						|
                "column_id":18,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c3",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "enum_set_values": [
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":18,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":18,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":true,
 | 
						|
          "alias_name":"cc2",
 | 
						|
          "expr_name":"c2",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":1,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 94   ***************
 | 
						|
select * from (select c2 , case c3 when 'aa' then 'bb' when 'cc' then 'dd' else 'ee' end cc3 from t2) as tt where tt.cc3 > 10
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":-2,
 | 
						|
      "table_name":"tt",
 | 
						|
      "alias_name":"tt",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":-2,
 | 
						|
      "column":"cc3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":-1,
 | 
						|
      "base_cid":-1,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"COERCIBLE"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":2,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"tt",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"cc3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":-2,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"tt",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"tt",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"COERCIBLE"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":2,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-2,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"tt",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"cc3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"cc3",
 | 
						|
      "expr_name":"cc3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":-2,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_GT",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"INT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":1,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"DECIMAL",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "IS_RANGE_COND"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"VARCHAR",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"COERCIBLE"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":2,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":1,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"utf8mb4_general_ci",
 | 
						|
              "coercibility":"IMPLICIT"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":-2,
 | 
						|
          "column_id":17,
 | 
						|
          "database_name":"",
 | 
						|
          "table_name":"tt",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"cc3",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_QUESTIONMARK",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":2,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_PARAM",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "IS_EXEC_PARM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "value": {
 | 
						|
            "UNKNOWN":1
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":2,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
       {
 | 
						|
        "expression": {
 | 
						|
          "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"DECIMAL",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":2,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST",
 | 
						|
            "IS_FUNC",
 | 
						|
            "IS_CALCULABLE_EXPR",
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM",
 | 
						|
            "CNT_FUNC",
 | 
						|
            "CNT_CALCULABLE_EXPR"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "func":"to_type",
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":2,
 | 
						|
                  "precision":2,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "idx":1
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "table_name":"t2",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677878,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "index_tid":1099511677878,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_FUNC",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_FUNC"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "func":"partition_key_v2",
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c2",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                  0
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":1,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"IMPLICIT"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":32,
 | 
						|
                    "precision":-1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":18,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c3",
 | 
						|
                "expr_level":0,
 | 
						|
                "expr_levels": [
 | 
						|
                  0
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":1,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "enum_set_values": [
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":18,
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":18,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":false,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"c2",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_OP_ARG_CASE",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"COERCIBLE"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":2,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "CNT_CONST",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "arg_case": {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"IMPLICIT"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":32,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":18,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c3",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":1,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
            "default": {
 | 
						|
              "item_type":"T_VARCHAR",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"COERCIBLE"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":2,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "CNT_CONST"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "VARCHAR":"ee",
 | 
						|
                "collation":"utf8mb4_general_ci"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "when": [
 | 
						|
               {
 | 
						|
                "item_type":"T_VARCHAR",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"COERCIBLE"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":2,
 | 
						|
                    "precision":1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":1,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_CONST",
 | 
						|
                  "CNT_CONST"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                ],
 | 
						|
                "value": {
 | 
						|
                  "VARCHAR":"aa",
 | 
						|
                  "collation":"utf8mb4_general_ci"
 | 
						|
                }
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_VARCHAR",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"COERCIBLE"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":2,
 | 
						|
                    "precision":1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":1,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_CONST",
 | 
						|
                  "CNT_CONST"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                ],
 | 
						|
                "value": {
 | 
						|
                  "VARCHAR":"cc",
 | 
						|
                  "collation":"utf8mb4_general_ci"
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "then": [
 | 
						|
               {
 | 
						|
                "item_type":"T_VARCHAR",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"COERCIBLE"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":2,
 | 
						|
                    "precision":1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":1,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_CONST",
 | 
						|
                  "CNT_CONST"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                ],
 | 
						|
                "value": {
 | 
						|
                  "VARCHAR":"bb",
 | 
						|
                  "collation":"utf8mb4_general_ci"
 | 
						|
                }
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_VARCHAR",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"COERCIBLE"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":2,
 | 
						|
                    "precision":1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":1,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_CONST",
 | 
						|
                  "CNT_CONST"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                ],
 | 
						|
                "value": {
 | 
						|
                  "VARCHAR":"dd",
 | 
						|
                  "collation":"utf8mb4_general_ci"
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "decode":false
 | 
						|
          },
 | 
						|
          "is_alias":true,
 | 
						|
          "alias_name":"cc3",
 | 
						|
          "expr_name":"case c3 when 'aa' then 'bb' when 'cc' then 'dd' else 'ee' end",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":2,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
           {
 | 
						|
            "expression": {
 | 
						|
              "item_type":"T_FUN_SYS_TO_TYPE",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"DECIMAL",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":2,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_FUNC",
 | 
						|
                "IS_CALCULABLE_EXPR",
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM",
 | 
						|
                "CNT_FUNC",
 | 
						|
                "CNT_CALCULABLE_EXPR"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "func":"to_type",
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":2,
 | 
						|
                      "precision":2,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":0
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ],
 | 
						|
              "enum_set_values": [
 | 
						|
              ]
 | 
						|
            },
 | 
						|
            "idx":1
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":0,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 95   ***************
 | 
						|
select c1 from t1 where c2 not in (select c2 as cc2 from t2)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "table_name":"t1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677877,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "index_tid":1099511677877,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_OP_ADD",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":12,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "CNT_CONST",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677877,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_INT",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":1,
 | 
						|
                "precision":1,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_CONST",
 | 
						|
              "CNT_CONST"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "BIGINT":1
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677877,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677877,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677877,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677877,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_SQ_NE",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"TINYINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":4,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_SUB_QUERY",
 | 
						|
        "IS_WITH_ALL"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0,
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677877,
 | 
						|
          "column_id":17,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t1",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c2",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":1,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":true,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "table_name":"t2",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677878,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "index_tid":1099511677878,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_FUNC",
 | 
						|
              "CNT_COLUMN",
 | 
						|
              "CNT_FUNC"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "func":"partition_key_v2",
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c2",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":true,
 | 
						|
                "explicited_ref_count":1,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"VARCHAR",
 | 
						|
                    "collation":"utf8mb4_general_ci",
 | 
						|
                    "coercibility":"IMPLICIT"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":32,
 | 
						|
                    "precision":-1,
 | 
						|
                    "scale":-1
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677878,
 | 
						|
                "column_id":18,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t2",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c3",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "enum_set_values": [
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":17,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":18,
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677878,
 | 
						|
          "base_cid":18,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
          "is_alias":true,
 | 
						|
          "alias_name":"cc2",
 | 
						|
          "expr_name":"c2",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":1,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 96   ***************
 | 
						|
select * from t2 where (c1, c2, c3) in ((0, 1, 2), (3, 4, 5))
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_IN",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_IN",
 | 
						|
        "CNT_CONST_EXPR",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_IN"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_ROW",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c1",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":0,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":17,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"VARCHAR",
 | 
						|
                  "collation":"utf8mb4_general_ci",
 | 
						|
                  "coercibility":"IMPLICIT"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":32,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":18,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c3",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_ROW",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_CONST_EXPR",
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_ROW",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":0
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":1
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":2
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_OP_ROW",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":-1,
 | 
						|
                  "scale":-1
 | 
						|
                },
 | 
						|
                "flag":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST_EXPR",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "children": [
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":3
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":4
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "item_type":"T_QUESTIONMARK",
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"NULL",
 | 
						|
                      "collation":"invalid_type",
 | 
						|
                      "coercibility":"INVALID"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "expr_info": [
 | 
						|
                    "IS_CONST",
 | 
						|
                    "IS_PARAM",
 | 
						|
                    "CNT_CONST",
 | 
						|
                    "CNT_PARAM"
 | 
						|
                  ],
 | 
						|
                  "rel_id": [
 | 
						|
                  ],
 | 
						|
                  "value": {
 | 
						|
                    "UNKNOWN":5
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":6,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 97   ***************
 | 
						|
select * from t2 where c1 in (1, 2, c2)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":2,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_IN",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"BIGINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":1,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "IS_IN",
 | 
						|
        "CNT_CONST",
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_PARAM",
 | 
						|
        "CNT_IN"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_OP_ROW",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_CONST",
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "CNT_PARAM"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":0
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_QUESTIONMARK",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"BIGINT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":1,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_CONST",
 | 
						|
                "IS_PARAM",
 | 
						|
                "CNT_CONST",
 | 
						|
                "CNT_PARAM"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
              ],
 | 
						|
              "value": {
 | 
						|
                "UNKNOWN":1
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "item_type":"T_REF_COLUMN",
 | 
						|
              "result_type": {
 | 
						|
                "meta": {
 | 
						|
                  "type":"INT",
 | 
						|
                  "collation":"binary",
 | 
						|
                  "coercibility":"NUMERIC"
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":-1,
 | 
						|
                  "precision":11,
 | 
						|
                  "scale":0
 | 
						|
                },
 | 
						|
                "flag":16387,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677878,
 | 
						|
              "column_id":17,
 | 
						|
              "database_name":"expr_db",
 | 
						|
              "table_name":"t2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":17179869184,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":2,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 98   ***************
 | 
						|
select * from t2 where c1 in (select count(*) from t1)
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "table_name":"t2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":0,
 | 
						|
      "ref_id":1099511677878,
 | 
						|
      "database_name":"expr_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "index_tid":1099511677878,
 | 
						|
      "part_expr": {
 | 
						|
        "item_type":"T_FUN_SYS_PART_KEY_V2",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_FUNC",
 | 
						|
          "CNT_COLUMN",
 | 
						|
          "CNT_FUNC"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
        ],
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "func":"partition_key_v2",
 | 
						|
        "children": [
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c2",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"VARCHAR",
 | 
						|
                "collation":"utf8mb4_general_ci",
 | 
						|
                "coercibility":"IMPLICIT"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":32,
 | 
						|
                "precision":-1,
 | 
						|
                "scale":-1
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677878,
 | 
						|
            "column_id":18,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "expr_level":0,
 | 
						|
            "expr_levels": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":true,
 | 
						|
            "explicited_ref_count":1,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "enum_set_values": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "subpart_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":17,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":18,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677878,
 | 
						|
      "base_cid":16,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "select": [
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":2,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c1",
 | 
						|
      "expr_name":"c1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"INT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":11,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "result_type": {
 | 
						|
          "meta": {
 | 
						|
            "type":"VARCHAR",
 | 
						|
            "collation":"utf8mb4_general_ci",
 | 
						|
            "coercibility":"IMPLICIT"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":32,
 | 
						|
            "precision":-1,
 | 
						|
            "scale":-1
 | 
						|
          },
 | 
						|
          "flag":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677878,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"expr_db",
 | 
						|
        "table_name":"t2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
          0
 | 
						|
        ],
 | 
						|
        "column_flags":17179869184,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      },
 | 
						|
      "is_alias":false,
 | 
						|
      "alias_name":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677878,
 | 
						|
      "is_join":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "start_with": [
 | 
						|
  ],
 | 
						|
  "connect_by": [
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
     {
 | 
						|
      "item_type":"T_OP_SQ_EQ",
 | 
						|
      "result_type": {
 | 
						|
        "meta": {
 | 
						|
          "type":"TINYINT",
 | 
						|
          "collation":"binary",
 | 
						|
          "coercibility":"NUMERIC"
 | 
						|
        },
 | 
						|
        "accuracy": {
 | 
						|
          "length":-1,
 | 
						|
          "precision":4,
 | 
						|
          "scale":0
 | 
						|
        },
 | 
						|
        "flag":0,
 | 
						|
        "calc_type": {
 | 
						|
          "type":"NULL",
 | 
						|
          "collation":"invalid_type",
 | 
						|
          "coercibility":"INVALID"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "expr_info": [
 | 
						|
        "CNT_COLUMN",
 | 
						|
        "CNT_SUB_QUERY",
 | 
						|
        "IS_WITH_ANY"
 | 
						|
      ],
 | 
						|
      "rel_id": [
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "expr_levels": [
 | 
						|
        0,
 | 
						|
        1
 | 
						|
      ],
 | 
						|
      "children": [
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_COLUMN",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":11,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_COLUMN",
 | 
						|
            "CNT_COLUMN"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "table_id":1099511677878,
 | 
						|
          "column_id":16,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "table_name":"t2",
 | 
						|
          "synonym_name":"",
 | 
						|
          "column_name":"c1",
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "column_flags":0,
 | 
						|
          "is_explicited_referece":true,
 | 
						|
          "explicited_ref_count":2,
 | 
						|
          "enum_set_values": [
 | 
						|
          ],
 | 
						|
          "is_lob_column":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "item_type":"T_REF_QUERY",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":-1,
 | 
						|
              "scale":-1
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_SUB_QUERY",
 | 
						|
            "CNT_SUB_QUERY"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
          ],
 | 
						|
          "id":0,
 | 
						|
          "expr_level":0,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "output_column":1,
 | 
						|
          "is_set":true,
 | 
						|
          "column_types": [
 | 
						|
             {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":20,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "enum_set_values": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "group_by": [
 | 
						|
  ],
 | 
						|
  "having": [
 | 
						|
  ],
 | 
						|
  "aggr_func": [
 | 
						|
  ],
 | 
						|
  "order_by": [
 | 
						|
  ],
 | 
						|
  "limit":null,
 | 
						|
  "offset":null,
 | 
						|
  "show_stmt_ctx": {
 | 
						|
    "is_from_show_stmt":false,
 | 
						|
    "global_scope":false,
 | 
						|
    "tenant_id":-1,
 | 
						|
    "show_database_id":-1,
 | 
						|
    "show_table_id":-1,
 | 
						|
    "grants_user_id":-1
 | 
						|
  },
 | 
						|
  "hint": {
 | 
						|
    "read_static":false,
 | 
						|
    "no_rewrite":false,
 | 
						|
    "frozen_version":-1,
 | 
						|
    "topk_precision":-1,
 | 
						|
    "sharding_minimum_row_count":0,
 | 
						|
    "query_timeout":-1,
 | 
						|
    "hotspot":false,
 | 
						|
    "index": [
 | 
						|
    ],
 | 
						|
    "read_consistency":-1,
 | 
						|
    "join_ordered":false,
 | 
						|
    "join_order": [
 | 
						|
    ],
 | 
						|
    "merge_hint_ids": [
 | 
						|
    ],
 | 
						|
    "hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "no_hash_hint_ids": [
 | 
						|
    ],
 | 
						|
    "nl_hint_ids": [
 | 
						|
    ],
 | 
						|
    "part_hints": [
 | 
						|
    ],
 | 
						|
    "use_late_materialization":-1,
 | 
						|
    "log_level":"",
 | 
						|
    "max_concurrent":-1,
 | 
						|
    "only_concurrent_hint":false,
 | 
						|
    "has_hint_exclude_concurrent":false,
 | 
						|
    "parallel":-1,
 | 
						|
    "use_px":1,
 | 
						|
    "use join filter":false,
 | 
						|
    "org_pq_distributes": [
 | 
						|
    ],
 | 
						|
    "pq_distributes": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "query_context": {
 | 
						|
    "param_num":0,
 | 
						|
    "fetch_cur_time":true,
 | 
						|
    "calculable_items": [
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "extra_output_exprs": [
 | 
						|
  ],
 | 
						|
  "current_level":0,
 | 
						|
  "equal_sets": [
 | 
						|
  ],
 | 
						|
  "pseudo_column_exprs": [
 | 
						|
  ],
 | 
						|
  "child_stmts": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677877,
 | 
						|
          "table_name":"t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677877,
 | 
						|
          "database_name":"expr_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677877,
 | 
						|
          "index_tid":1099511677877,
 | 
						|
          "part_expr": {
 | 
						|
            "item_type":"T_OP_ADD",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":12,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":1,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "CNT_CONST",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
               {
 | 
						|
                "item_type":"T_REF_COLUMN",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"INT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":11,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":16387,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677877,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"expr_db",
 | 
						|
                "table_name":"t1",
 | 
						|
                "synonym_name":"",
 | 
						|
                "column_name":"c1",
 | 
						|
                "expr_level":1,
 | 
						|
                "expr_levels": [
 | 
						|
                ],
 | 
						|
                "column_flags":17179869184,
 | 
						|
                "is_explicited_referece":false,
 | 
						|
                "explicited_ref_count":0,
 | 
						|
                "enum_set_values": [
 | 
						|
                ],
 | 
						|
                "is_lob_column":false
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "item_type":"T_INT",
 | 
						|
                "result_type": {
 | 
						|
                  "meta": {
 | 
						|
                    "type":"BIGINT",
 | 
						|
                    "collation":"binary",
 | 
						|
                    "coercibility":"NUMERIC"
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":1,
 | 
						|
                    "precision":1,
 | 
						|
                    "scale":0
 | 
						|
                  },
 | 
						|
                  "flag":1,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_CONST",
 | 
						|
                  "CNT_CONST"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                ],
 | 
						|
                "value": {
 | 
						|
                  "BIGINT":1
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "subpart_expr":null
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677877,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677877,
 | 
						|
          "base_cid":16,
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_REF_COLUMN",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"INT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":11,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":16387,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677877,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"expr_db",
 | 
						|
            "table_name":"t1",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c1",
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
            ],
 | 
						|
            "column_flags":17179869184,
 | 
						|
            "is_explicited_referece":false,
 | 
						|
            "explicited_ref_count":0,
 | 
						|
            "enum_set_values": [
 | 
						|
            ],
 | 
						|
            "is_lob_column":false
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "select": [
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_FUN_COUNT",
 | 
						|
            "result_type": {
 | 
						|
              "meta": {
 | 
						|
                "type":"BIGINT",
 | 
						|
                "collation":"binary",
 | 
						|
                "coercibility":"NUMERIC"
 | 
						|
              },
 | 
						|
              "accuracy": {
 | 
						|
                "length":-1,
 | 
						|
                "precision":20,
 | 
						|
                "scale":0
 | 
						|
              },
 | 
						|
              "flag":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_AGG",
 | 
						|
              "CNT_AGG"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              0
 | 
						|
            ],
 | 
						|
            "expr_level":1,
 | 
						|
            "expr_levels": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "children": [
 | 
						|
            ],
 | 
						|
            "distinct":false,
 | 
						|
            "order_by": [
 | 
						|
            ],
 | 
						|
            "separator_param_expr":null,
 | 
						|
            "udf_meta": {
 | 
						|
              "tenant_id":-1,
 | 
						|
              "name":"",
 | 
						|
              "ret":0,
 | 
						|
              "dl":"",
 | 
						|
              "type":0
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "is_alias":false,
 | 
						|
          "alias_name":"count(*)",
 | 
						|
          "expr_name":"count(*)",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677877,
 | 
						|
          "is_join":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "start_with": [
 | 
						|
      ],
 | 
						|
      "connect_by": [
 | 
						|
      ],
 | 
						|
      "where": [
 | 
						|
      ],
 | 
						|
      "group_by": [
 | 
						|
      ],
 | 
						|
      "having": [
 | 
						|
      ],
 | 
						|
      "aggr_func": [
 | 
						|
         {
 | 
						|
          "item_type":"T_FUN_COUNT",
 | 
						|
          "result_type": {
 | 
						|
            "meta": {
 | 
						|
              "type":"BIGINT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            },
 | 
						|
            "accuracy": {
 | 
						|
              "length":-1,
 | 
						|
              "precision":20,
 | 
						|
              "scale":0
 | 
						|
            },
 | 
						|
            "flag":0,
 | 
						|
            "calc_type": {
 | 
						|
              "type":"NULL",
 | 
						|
              "collation":"invalid_type",
 | 
						|
              "coercibility":"INVALID"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "IS_AGG",
 | 
						|
            "CNT_AGG"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "expr_level":1,
 | 
						|
          "expr_levels": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "children": [
 | 
						|
          ],
 | 
						|
          "distinct":false,
 | 
						|
          "order_by": [
 | 
						|
          ],
 | 
						|
          "separator_param_expr":null,
 | 
						|
          "udf_meta": {
 | 
						|
            "tenant_id":-1,
 | 
						|
            "name":"",
 | 
						|
            "ret":0,
 | 
						|
            "dl":"",
 | 
						|
            "type":0
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "order_by": [
 | 
						|
      ],
 | 
						|
      "limit":null,
 | 
						|
      "offset":null,
 | 
						|
      "show_stmt_ctx": {
 | 
						|
        "is_from_show_stmt":false,
 | 
						|
        "global_scope":false,
 | 
						|
        "tenant_id":-1,
 | 
						|
        "show_database_id":-1,
 | 
						|
        "show_table_id":-1,
 | 
						|
        "grants_user_id":-1
 | 
						|
      },
 | 
						|
      "hint": {
 | 
						|
        "read_static":false,
 | 
						|
        "no_rewrite":false,
 | 
						|
        "frozen_version":-1,
 | 
						|
        "topk_precision":-1,
 | 
						|
        "sharding_minimum_row_count":0,
 | 
						|
        "query_timeout":-1,
 | 
						|
        "hotspot":false,
 | 
						|
        "index": [
 | 
						|
        ],
 | 
						|
        "read_consistency":-1,
 | 
						|
        "join_ordered":false,
 | 
						|
        "join_order": [
 | 
						|
        ],
 | 
						|
        "merge_hint_ids": [
 | 
						|
        ],
 | 
						|
        "hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "no_hash_hint_ids": [
 | 
						|
        ],
 | 
						|
        "nl_hint_ids": [
 | 
						|
        ],
 | 
						|
        "part_hints": [
 | 
						|
        ],
 | 
						|
        "use_late_materialization":-1,
 | 
						|
        "log_level":"",
 | 
						|
        "max_concurrent":-1,
 | 
						|
        "only_concurrent_hint":false,
 | 
						|
        "has_hint_exclude_concurrent":false,
 | 
						|
        "parallel":-1,
 | 
						|
        "use_px":1,
 | 
						|
        "use join filter":false,
 | 
						|
        "org_pq_distributes": [
 | 
						|
        ],
 | 
						|
        "pq_distributes": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "query_context": {
 | 
						|
        "param_num":0,
 | 
						|
        "fetch_cur_time":true,
 | 
						|
        "calculable_items": [
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "extra_output_exprs": [
 | 
						|
      ],
 | 
						|
      "current_level":1,
 | 
						|
      "equal_sets": [
 | 
						|
      ],
 | 
						|
      "pseudo_column_exprs": [
 | 
						|
      ],
 | 
						|
      "child_stmts": [
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 99   ***************
 | 
						|
drop database expr_db;
 | 
						|
{
 | 
						|
  "drop_database_arg":"tenant_id",
 | 
						|
  "database_name":"expr_db",
 | 
						|
  "if_exist":false,
 | 
						|
  "to_recyclebin":false
 | 
						|
}
 |