20584 lines
		
	
	
		
			582 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20584 lines
		
	
	
		
			582 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
***************   Case 1   ***************
 | 
						|
drop database if exists view_db;
 | 
						|
{
 | 
						|
  "drop_database_arg":"tenant_id",
 | 
						|
  "database_name":"view_db",
 | 
						|
  "if_exist":true,
 | 
						|
  "to_recyclebin":false
 | 
						|
}
 | 
						|
***************   Case 2   ***************
 | 
						|
create database view_db;
 | 
						|
{
 | 
						|
  "create_database_arg":"database_schema",
 | 
						|
  "database_id":-1,
 | 
						|
  "schema_version":1,
 | 
						|
  "database_name":"view_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 view_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":"view_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":"view_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":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 7   ***************
 | 
						|
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":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 8   ***************
 | 
						|
create table view_t1(c1 int primary key, c2 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":"view_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":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":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 9   ***************
 | 
						|
create table view_t2(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":"view_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":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":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 10   ***************
 | 
						|
create table view_t3(c1 int primary key, c2 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":"view_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":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 11   ***************
 | 
						|
create table view_t1_not_null(c1 int primary key, c2 int not null);
 | 
						|
{"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":"view_t1_not_null", "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":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 12   ***************
 | 
						|
create table view_t1_null_default(c1 int primary key, c2 int default 22222);
 | 
						|
{"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":"view_t1_null_default", "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":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 13   ***************
 | 
						|
create table view_t1_not_null_default(c1 int primary key, c2 int not null default 2222);
 | 
						|
{"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":"view_t1_not_null_default", "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":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 14   ***************
 | 
						|
create view view_v1_not_null as select c1,c2 from view_t1_not_null;
 | 
						|
{"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":"view_v1_not_null", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1_not_null`.`c1` AS `c1`,`view_db`.`view_t1_not_null`.`c2` AS `c2` from `view_db`.`view_t1_not_null`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 15   ***************
 | 
						|
create view view_v1_null_default as select c1,c2 from view_t1_null_default;
 | 
						|
{"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":"view_v1_null_default", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1_null_default`.`c1` AS `c1`,`view_db`.`view_t1_null_default`.`c2` AS `c2` from `view_db`.`view_t1_null_default`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 16   ***************
 | 
						|
create view view_v1_not_null_default as select c1,c2 from view_t1_not_null_default;
 | 
						|
{"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":"view_v1_not_null_default", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1_not_null_default`.`c1` AS `c1`,`view_db`.`view_t1_not_null_default`.`c2` AS `c2` from `view_db`.`view_t1_not_null_default`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 17   ***************
 | 
						|
create or replace view view_v1 as select c1, c2 from view_t1;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"view_v1", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1`.`c1` AS `c1`,`view_db`.`view_t1`.`c2` AS `c2` from `view_db`.`view_t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 18   ***************
 | 
						|
select * from view_v1;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677890,
 | 
						|
      "table_name":"view_v1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677890,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677890,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v1",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677890,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677890,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v1",
 | 
						|
        "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":1099511677890,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v1",
 | 
						|
        "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":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677890,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v1",
 | 
						|
        "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":1099511677890,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 19   ***************
 | 
						|
create or replace view view_v2(c1, c2) as select c1, c2 from view_t1;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"view_v2", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1`.`c1` AS `c1`,`view_db`.`view_t1`.`c2` AS `c2` from `view_db`.`view_t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 20   ***************
 | 
						|
select * from view_v2;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677891,
 | 
						|
      "table_name":"view_v2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677891,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677891,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v2",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677891,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677891,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v2",
 | 
						|
        "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":1099511677891,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v2",
 | 
						|
        "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":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677891,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v2",
 | 
						|
        "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":1099511677891,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 21   ***************
 | 
						|
create or replace view view_v3(c2) as select c2 from view_t1;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"view_v3", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1`.`c2` AS `c2` from `view_db`.`view_t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 22   ***************
 | 
						|
select * from view_v3;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677892,
 | 
						|
      "table_name":"view_v3",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677892,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677892,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v3",
 | 
						|
        "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":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677892,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v3",
 | 
						|
        "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":1099511677892,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 23   ***************
 | 
						|
create or replace view view_v4(vc2) as select c2 as vc2 from view_t1;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"view_v4", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1`.`c2` AS `vc2` from `view_db`.`view_t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 24   ***************
 | 
						|
select * from view_v4;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677893,
 | 
						|
      "table_name":"view_v4",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677893,
 | 
						|
      "column":"vc2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677893,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v4",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc2",
 | 
						|
        "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":1099511677893,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v4",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc2",
 | 
						|
        "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":"vc2",
 | 
						|
      "expr_name":"vc2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677893,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"vc2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 25   ***************
 | 
						|
create or replace view view_v5(vc2) as select c2 as vc2 from view_t1;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"view_v5", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1`.`c2` AS `vc2` from `view_db`.`view_t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 26   ***************
 | 
						|
select * from view_v5;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677894,
 | 
						|
      "table_name":"view_v5",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677894,
 | 
						|
      "column":"vc2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677894,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v5",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc2",
 | 
						|
        "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":1099511677894,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v5",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc2",
 | 
						|
        "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":"vc2",
 | 
						|
      "expr_name":"vc2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677894,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"vc2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 27   ***************
 | 
						|
select c1 from view_v1 right join view_v2 using(c1);
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677890,
 | 
						|
      "table_name":"view_v1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677891,
 | 
						|
      "table_name":"view_v2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
     {
 | 
						|
      "table_id":-2,
 | 
						|
      "table_type":3,
 | 
						|
      "join_type":"RIGHT OUTER JOIN",
 | 
						|
      "left_table": {
 | 
						|
        "table_id":1099511677890,
 | 
						|
        "table_name":"view_v1",
 | 
						|
        "alias_name":"",
 | 
						|
        "synonym_name":"",
 | 
						|
        "table_type":2,
 | 
						|
        "ref_id":-1,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "for_update":false,
 | 
						|
        "wait":-1,
 | 
						|
        "mock_id":-1,
 | 
						|
        "view_base_item":-1
 | 
						|
      },
 | 
						|
      "right_table": {
 | 
						|
        "table_id":1099511677891,
 | 
						|
        "table_name":"view_v2",
 | 
						|
        "alias_name":"",
 | 
						|
        "synonym_name":"",
 | 
						|
        "table_type":2,
 | 
						|
        "ref_id":-1,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "for_update":false,
 | 
						|
        "wait":-1,
 | 
						|
        "mock_id":-1,
 | 
						|
        "view_base_item":-1
 | 
						|
      },
 | 
						|
      "join_condition": [
 | 
						|
         {
 | 
						|
          "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":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "IS_JOIN_COND"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            1,
 | 
						|
            2
 | 
						|
          ],
 | 
						|
          "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":1099511677890,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "table_name":"view_v1",
 | 
						|
              "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_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": [
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "table_id":1099511677891,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "table_name":"view_v2",
 | 
						|
              "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
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677890,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677890,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v1",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677891,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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": [
 | 
						|
          2
 | 
						|
        ],
 | 
						|
        "table_id":1099511677891,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v2",
 | 
						|
        "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":16387,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          2
 | 
						|
        ],
 | 
						|
        "table_id":1099511677891,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v2",
 | 
						|
        "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"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":-2,
 | 
						|
      "is_join":true
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "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":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
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-3,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"view_t1",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":-3,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":-3,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-3,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":-3,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":-3,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`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":-3,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-3,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 28   ***************
 | 
						|
select c2 from view_v1 right join view_v2 using(c1);
 | 
						|
***************   Case 29   ***************
 | 
						|
select c2 from view_v1 right join view_v3 using(c2) right join view_v2 using(c2);
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677890,
 | 
						|
      "table_name":"view_v1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677892,
 | 
						|
      "table_name":"view_v3",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677891,
 | 
						|
      "table_name":"view_v2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
     {
 | 
						|
      "table_id":-2,
 | 
						|
      "table_type":3,
 | 
						|
      "join_type":"RIGHT OUTER JOIN",
 | 
						|
      "left_table": {
 | 
						|
        "table_id":-3,
 | 
						|
        "table_name":"",
 | 
						|
        "alias_name":"",
 | 
						|
        "synonym_name":"",
 | 
						|
        "table_type":3,
 | 
						|
        "ref_id":-1,
 | 
						|
        "database_name":"",
 | 
						|
        "for_update":false,
 | 
						|
        "wait":-1,
 | 
						|
        "mock_id":-1,
 | 
						|
        "view_base_item":-1
 | 
						|
      },
 | 
						|
      "right_table": {
 | 
						|
        "table_id":1099511677891,
 | 
						|
        "table_name":"view_v2",
 | 
						|
        "alias_name":"",
 | 
						|
        "synonym_name":"",
 | 
						|
        "table_type":2,
 | 
						|
        "ref_id":-1,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "for_update":false,
 | 
						|
        "wait":-1,
 | 
						|
        "mock_id":-1,
 | 
						|
        "view_base_item":-1
 | 
						|
      },
 | 
						|
      "join_condition": [
 | 
						|
         {
 | 
						|
          "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":"INT",
 | 
						|
              "collation":"binary",
 | 
						|
              "coercibility":"NUMERIC"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "expr_info": [
 | 
						|
            "CNT_COLUMN",
 | 
						|
            "IS_JOIN_COND"
 | 
						|
          ],
 | 
						|
          "rel_id": [
 | 
						|
            2,
 | 
						|
            3
 | 
						|
          ],
 | 
						|
          "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": [
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "table_id":1099511677892,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "table_name":"view_v3",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "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":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                3
 | 
						|
              ],
 | 
						|
              "table_id":1099511677891,
 | 
						|
              "column_id":17,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "table_name":"view_v2",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "column_flags":0,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":2,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677890,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677890,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v1",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677892,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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": [
 | 
						|
          2
 | 
						|
        ],
 | 
						|
        "table_id":1099511677892,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v3",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "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":1099511677891,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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": [
 | 
						|
          3
 | 
						|
        ],
 | 
						|
        "table_id":1099511677891,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "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": [
 | 
						|
          3
 | 
						|
        ],
 | 
						|
        "table_id":1099511677891,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "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":"c2",
 | 
						|
      "expr_name":"c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":-2,
 | 
						|
      "is_join":true
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "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":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
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-4,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"view_t1",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-4,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":-4,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              1
 | 
						|
            ],
 | 
						|
            "table_id":-4,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-4,
 | 
						|
          "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":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
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-5,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"view_t1",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":1,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":-5,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":-5,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-5,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":-5,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":-5,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`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":-5,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-5,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 30   ***************
 | 
						|
select c1 from view_v1 right join view_v3 using(c2) right join view_v2 using(c2);
 | 
						|
***************   Case 31   ***************
 | 
						|
create or replace view view_v6 as select c1+1 from view_t1;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"view_v6", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select (`view_db`.`view_t1`.`c1` + 1) AS `c1+1` from `view_db`.`view_t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 32   ***************
 | 
						|
select * from view_v6;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677895,
 | 
						|
      "table_name":"view_v6",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677895,
 | 
						|
      "column":"c1+1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":-1,
 | 
						|
      "base_cid":-1,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "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": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677895,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v6",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1+1",
 | 
						|
        "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":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":12,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677895,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v6",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c1+1",
 | 
						|
        "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+1",
 | 
						|
      "expr_name":"c1+1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677895,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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_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": [
 | 
						|
              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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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_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":true,
 | 
						|
          "alias_name":"c1+1",
 | 
						|
          "expr_name":"(`view_db`.`view_t1`.`c1` + 1)",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 33   ***************
 | 
						|
create or replace view view_v7(vc1,vc2) as select c1+1 as vc1, c2+2 as vc2 from view_t1;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"view_v7", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select (`view_db`.`view_t1`.`c1` + 1) AS `vc1`,(`view_db`.`view_t1`.`c2` + 2) AS `vc2` from `view_db`.`view_t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 34   ***************
 | 
						|
select * from view_v7;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677896,
 | 
						|
      "table_name":"view_v7",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677896,
 | 
						|
      "column":"vc1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":-1,
 | 
						|
      "base_cid":-1,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "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": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677896,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v7",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc1",
 | 
						|
        "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":17,
 | 
						|
      "table_id":1099511677896,
 | 
						|
      "column":"vc2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":-1,
 | 
						|
      "base_cid":-1,
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "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": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677896,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v7",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc2",
 | 
						|
        "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":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          },
 | 
						|
          "accuracy": {
 | 
						|
            "length":-1,
 | 
						|
            "precision":12,
 | 
						|
            "scale":0
 | 
						|
          },
 | 
						|
          "flag":1,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"BIGINT",
 | 
						|
            "collation":"binary",
 | 
						|
            "coercibility":"NUMERIC"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677896,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v7",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc1",
 | 
						|
        "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":"vc1",
 | 
						|
      "expr_name":"vc1",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "expression": {
 | 
						|
        "item_type":"T_REF_COLUMN",
 | 
						|
        "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": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677896,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v7",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc2",
 | 
						|
        "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":"vc2",
 | 
						|
      "expr_name":"vc2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677896,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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_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": [
 | 
						|
              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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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_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":true,
 | 
						|
          "alias_name":"vc1",
 | 
						|
          "expr_name":"(`view_db`.`view_t1`.`c1` + 1)",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "expression": {
 | 
						|
            "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_CONST",
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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_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_alias":true,
 | 
						|
          "alias_name":"vc2",
 | 
						|
          "expr_name":"(`view_db`.`view_t1`.`c2` + 2)",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 35   ***************
 | 
						|
create or replace view v_2t_1 as select c1,c2,c3,c4 from view_t1, view_t2;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"v_2t_1", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1`.`c1` AS `c1`,`view_db`.`view_t1`.`c2` AS `c2`,`view_db`.`view_t2`.`c3` AS `c3`,`view_db`.`view_t2`.`c4` AS `c4` from `view_db`.`view_t1`,`view_db`.`view_t2`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 36   ***************
 | 
						|
select * from v_2t_1;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677897,
 | 
						|
      "table_name":"v_2t_1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677897,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677897,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_2t_1",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677897,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677897,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_2t_1",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677897,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677882,
 | 
						|
      "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":1099511677897,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_2t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "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":1099511677897,
 | 
						|
      "column":"c4",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677882,
 | 
						|
      "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":1099511677897,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_2t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c4",
 | 
						|
        "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":1099511677897,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_2t_1",
 | 
						|
        "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":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677897,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_2t_1",
 | 
						|
        "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":"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":1099511677897,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_2t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "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":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "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":1099511677897,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_2t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c4",
 | 
						|
        "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":"c4",
 | 
						|
      "expr_name":"c4",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677897,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "table_name":"view_t2",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677882,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677882,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "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":17,
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "column":"c4",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677882,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c4",
 | 
						|
            "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c3",
 | 
						|
          "expr_name":"`view_db`.`view_t2`.`c3`",
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c4",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c4",
 | 
						|
          "expr_name":"`view_db`.`view_t2`.`c4`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "is_join":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 37   ***************
 | 
						|
create or replace view v_3t_1(vc1, vc2, vc3, vc4, vc5, vc6) as select view_t1.c1 as vc1, view_t1.c2 as vc2, c3 as vc3, c4 as vc4, view_t3.c1 as vc5, view_t3.c2 as vc6 from view_t1, view_t2, view_t3;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"v_3t_1", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1`.`c1` AS `vc1`,`view_db`.`view_t1`.`c2` AS `vc2`,`view_db`.`view_t2`.`c3` AS `vc3`,`view_db`.`view_t2`.`c4` AS `vc4`,`view_db`.`view_t3`.`c1` AS `vc5`,`view_db`.`view_t3`.`c2` AS `vc6` from `view_db`.`view_t1`,`view_db`.`view_t2`,`view_db`.`view_t3`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 38   ***************
 | 
						|
select * from v_3t_1;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677898,
 | 
						|
      "table_name":"v_3t_1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677898,
 | 
						|
      "column":"vc1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677898,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc1",
 | 
						|
        "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":17,
 | 
						|
      "table_id":1099511677898,
 | 
						|
      "column":"vc2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677898,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc2",
 | 
						|
        "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":1099511677898,
 | 
						|
      "column":"vc3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677882,
 | 
						|
      "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":1099511677898,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc3",
 | 
						|
        "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":1099511677898,
 | 
						|
      "column":"vc4",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677882,
 | 
						|
      "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":1099511677898,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc4",
 | 
						|
        "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":1099511677898,
 | 
						|
      "column":"vc5",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677883,
 | 
						|
      "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":1099511677898,
 | 
						|
        "column_id":20,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc5",
 | 
						|
        "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":1099511677898,
 | 
						|
      "column":"vc6",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677883,
 | 
						|
      "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":1099511677898,
 | 
						|
        "column_id":21,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc6",
 | 
						|
        "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":1099511677898,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc1",
 | 
						|
        "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":"vc1",
 | 
						|
      "expr_name":"vc1",
 | 
						|
      "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":1099511677898,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc2",
 | 
						|
        "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":"vc2",
 | 
						|
      "expr_name":"vc2",
 | 
						|
      "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":1099511677898,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc3",
 | 
						|
        "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":"vc3",
 | 
						|
      "expr_name":"vc3",
 | 
						|
      "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":1099511677898,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc4",
 | 
						|
        "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":"vc4",
 | 
						|
      "expr_name":"vc4",
 | 
						|
      "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":1099511677898,
 | 
						|
        "column_id":20,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc5",
 | 
						|
        "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":"vc5",
 | 
						|
      "expr_name":"vc5",
 | 
						|
      "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":1099511677898,
 | 
						|
        "column_id":21,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_3t_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vc6",
 | 
						|
        "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":"vc6",
 | 
						|
      "expr_name":"vc6",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677898,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "table_name":"view_t2",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677882,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "table_name":"view_t3",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677883,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677882,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "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":17,
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "column":"c4",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677882,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c4",
 | 
						|
            "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":16,
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677883,
 | 
						|
          "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": [
 | 
						|
              3
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677883,
 | 
						|
          "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": [
 | 
						|
              3
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vc1",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"vc2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vc3",
 | 
						|
          "expr_name":"`view_db`.`view_t2`.`c3`",
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c4",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vc4",
 | 
						|
          "expr_name":"`view_db`.`view_t2`.`c4`",
 | 
						|
          "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": [
 | 
						|
              3
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vc5",
 | 
						|
          "expr_name":"`view_db`.`view_t3`.`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": [
 | 
						|
              3
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vc6",
 | 
						|
          "expr_name":"`view_db`.`view_t3`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "is_join":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "is_join":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 39   ***************
 | 
						|
create or replace view vv_1 as select c1,c2 from view_v1;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"vv_1", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_v1`.`c1` AS `c1`,`view_db`.`view_v1`.`c2` AS `c2` from `view_db`.`view_v1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 40   ***************
 | 
						|
select * from vv_1;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677899,
 | 
						|
      "table_name":"vv_1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677899,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677899,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_1",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677899,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677899,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_1",
 | 
						|
        "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":1099511677899,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_1",
 | 
						|
        "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":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677899,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_1",
 | 
						|
        "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":1099511677899,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677890,
 | 
						|
          "table_name":"view_v1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":2,
 | 
						|
          "ref_id":-1,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677890,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677890,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_v1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677890,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677890,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_v1",
 | 
						|
            "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":1099511677890,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_v1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"`view_db`.`view_v1`.`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":1099511677890,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_v1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`view_v1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677890,
 | 
						|
          "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":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": [
 | 
						|
         {
 | 
						|
          "stmt_type":1,
 | 
						|
          "table": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "table_name":"view_t1",
 | 
						|
              "alias_name":"",
 | 
						|
              "synonym_name":"",
 | 
						|
              "table_type":0,
 | 
						|
              "ref_id":1099511677881,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "for_update":false,
 | 
						|
              "wait":-1,
 | 
						|
              "mock_id":-1,
 | 
						|
              "view_base_item":-1
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "joined_table": [
 | 
						|
          ],
 | 
						|
          "partition_express": [
 | 
						|
          ],
 | 
						|
          "column": [
 | 
						|
             {
 | 
						|
              "column_id":16,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c1",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "column_id":17,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c2",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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":true,
 | 
						|
              "alias_name":"c1",
 | 
						|
              "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":true,
 | 
						|
              "alias_name":"c2",
 | 
						|
              "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
              "default": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "distinct":false,
 | 
						|
          "rollup":false,
 | 
						|
          "nocycle":false,
 | 
						|
          "from": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "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":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
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 41   ***************
 | 
						|
create or replace view vvv_1 as select c1,c2 from vv_1;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"vvv_1", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`vv_1`.`c1` AS `c1`,`view_db`.`vv_1`.`c2` AS `c2` from `view_db`.`vv_1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 42   ***************
 | 
						|
select * from vvv_1
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677900,
 | 
						|
      "table_name":"vvv_1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677900,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677900,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vvv_1",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677900,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677900,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vvv_1",
 | 
						|
        "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":1099511677900,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vvv_1",
 | 
						|
        "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":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677900,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vvv_1",
 | 
						|
        "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":1099511677900,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677899,
 | 
						|
          "table_name":"vv_1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":2,
 | 
						|
          "ref_id":-1,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677899,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677899,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"vv_1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677899,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677899,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"vv_1",
 | 
						|
            "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":1099511677899,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"vv_1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"`view_db`.`vv_1`.`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":1099511677899,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"vv_1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`vv_1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677899,
 | 
						|
          "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":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": [
 | 
						|
         {
 | 
						|
          "stmt_type":1,
 | 
						|
          "table": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677890,
 | 
						|
              "table_name":"view_v1",
 | 
						|
              "alias_name":"",
 | 
						|
              "synonym_name":"",
 | 
						|
              "table_type":2,
 | 
						|
              "ref_id":-1,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "for_update":false,
 | 
						|
              "wait":-1,
 | 
						|
              "mock_id":-1,
 | 
						|
              "view_base_item":-1
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "joined_table": [
 | 
						|
          ],
 | 
						|
          "partition_express": [
 | 
						|
          ],
 | 
						|
          "column": [
 | 
						|
             {
 | 
						|
              "column_id":16,
 | 
						|
              "table_id":1099511677890,
 | 
						|
              "column":"c1",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677890,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_v1",
 | 
						|
                "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
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "column_id":17,
 | 
						|
              "table_id":1099511677890,
 | 
						|
              "column":"c2",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677890,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_v1",
 | 
						|
                "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":1099511677890,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_v1",
 | 
						|
                "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":true,
 | 
						|
              "alias_name":"c1",
 | 
						|
              "expr_name":"`view_db`.`view_v1`.`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":1099511677890,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_v1",
 | 
						|
                "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":true,
 | 
						|
              "alias_name":"c2",
 | 
						|
              "expr_name":"`view_db`.`view_v1`.`c2`",
 | 
						|
              "default": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "distinct":false,
 | 
						|
          "rollup":false,
 | 
						|
          "nocycle":false,
 | 
						|
          "from": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677890,
 | 
						|
              "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":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": [
 | 
						|
             {
 | 
						|
              "stmt_type":1,
 | 
						|
              "table": [
 | 
						|
                 {
 | 
						|
                  "table_id":1099511677881,
 | 
						|
                  "table_name":"view_t1",
 | 
						|
                  "alias_name":"",
 | 
						|
                  "synonym_name":"",
 | 
						|
                  "table_type":0,
 | 
						|
                  "ref_id":1099511677881,
 | 
						|
                  "database_name":"view_db",
 | 
						|
                  "for_update":false,
 | 
						|
                  "wait":-1,
 | 
						|
                  "mock_id":-1,
 | 
						|
                  "view_base_item":-1
 | 
						|
                }
 | 
						|
              ],
 | 
						|
              "joined_table": [
 | 
						|
              ],
 | 
						|
              "partition_express": [
 | 
						|
              ],
 | 
						|
              "column": [
 | 
						|
                 {
 | 
						|
                  "column_id":16,
 | 
						|
                  "table_id":1099511677881,
 | 
						|
                  "column":"c1",
 | 
						|
                  "auto_filled_timestamp":false,
 | 
						|
                  "default_value": {
 | 
						|
                    "NULL":"NULL"
 | 
						|
                  },
 | 
						|
                  "base_tid":1099511677881,
 | 
						|
                  "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":1099511677881,
 | 
						|
                    "column_id":16,
 | 
						|
                    "database_name":"view_db",
 | 
						|
                    "table_name":"view_t1",
 | 
						|
                    "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
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "column_id":17,
 | 
						|
                  "table_id":1099511677881,
 | 
						|
                  "column":"c2",
 | 
						|
                  "auto_filled_timestamp":false,
 | 
						|
                  "default_value": {
 | 
						|
                    "NULL":"NULL"
 | 
						|
                  },
 | 
						|
                  "base_tid":1099511677881,
 | 
						|
                  "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":1099511677881,
 | 
						|
                    "column_id":17,
 | 
						|
                    "database_name":"view_db",
 | 
						|
                    "table_name":"view_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":1099511677881,
 | 
						|
                    "column_id":16,
 | 
						|
                    "database_name":"view_db",
 | 
						|
                    "table_name":"view_t1",
 | 
						|
                    "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":true,
 | 
						|
                  "alias_name":"c1",
 | 
						|
                  "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
                    "column_id":17,
 | 
						|
                    "database_name":"view_db",
 | 
						|
                    "table_name":"view_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":true,
 | 
						|
                  "alias_name":"c2",
 | 
						|
                  "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
                  "default": {
 | 
						|
                    "NULL":"NULL"
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ],
 | 
						|
              "distinct":false,
 | 
						|
              "rollup":false,
 | 
						|
              "nocycle":false,
 | 
						|
              "from": [
 | 
						|
                 {
 | 
						|
                  "table_id":1099511677881,
 | 
						|
                  "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":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
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "has_transformed_for_hierarchical_query":false,
 | 
						|
          "is_hierarchical_query":false
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 43   ***************
 | 
						|
create view v_mix_1 as select c1,c2 from view_t1;
 | 
						|
{"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":"v_mix_1", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1`.`c1` AS `c1`,`view_db`.`view_t1`.`c2` AS `c2` from `view_db`.`view_t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 44   ***************
 | 
						|
create view vv_mix_1 as select c1,c2,c3,c4 from v_mix_1, view_t2;
 | 
						|
{"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":"vv_mix_1", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`v_mix_1`.`c1` AS `c1`,`view_db`.`v_mix_1`.`c2` AS `c2`,`view_db`.`view_t2`.`c3` AS `c3`,`view_db`.`view_t2`.`c4` AS `c4` from `view_db`.`v_mix_1`,`view_db`.`view_t2`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 45   ***************
 | 
						|
select * from (select * from (select * from view_t1) as v_test, view_t2) as vv_test;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":-3,
 | 
						|
      "table_name":"vv_test",
 | 
						|
      "alias_name":"vv_test",
 | 
						|
      "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":-3,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":-3,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":-3,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677882,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "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":-3,
 | 
						|
      "column":"c4",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677882,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c4",
 | 
						|
        "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":-3,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "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":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-3,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "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":"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":-3,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "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":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "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":-3,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c4",
 | 
						|
        "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":"c4",
 | 
						|
      "expr_name":"c4",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":-3,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"v_test",
 | 
						|
          "alias_name":"v_test",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":2,
 | 
						|
          "ref_id":-1,
 | 
						|
          "database_name":"",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "table_name":"view_t2",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677882,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "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":1099511677881,
 | 
						|
          "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":"",
 | 
						|
            "table_name":"v_test",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":"",
 | 
						|
            "table_name":"v_test",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677882,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "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":17,
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "column":"c4",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677882,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c4",
 | 
						|
            "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":"v_test",
 | 
						|
            "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":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":"",
 | 
						|
            "table_name":"v_test",
 | 
						|
            "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":"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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "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":"c3",
 | 
						|
          "expr_name":"c3",
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c4",
 | 
						|
            "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":"c4",
 | 
						|
          "expr_name":"c4",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "is_join":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "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":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": [
 | 
						|
         {
 | 
						|
          "stmt_type":1,
 | 
						|
          "table": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "table_name":"view_t1",
 | 
						|
              "alias_name":"",
 | 
						|
              "synonym_name":"",
 | 
						|
              "table_type":0,
 | 
						|
              "ref_id":1099511677881,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "for_update":false,
 | 
						|
              "wait":-1,
 | 
						|
              "mock_id":-1,
 | 
						|
              "view_base_item":-1
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "joined_table": [
 | 
						|
          ],
 | 
						|
          "partition_express": [
 | 
						|
          ],
 | 
						|
          "column": [
 | 
						|
             {
 | 
						|
              "column_id":16,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c1",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "column_id":17,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c2",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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":0,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":1099511677881,
 | 
						|
              "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":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
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 46   ***************
 | 
						|
select * from vv_mix_1;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677902,
 | 
						|
      "table_name":"vv_mix_1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677902,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677902,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_1",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677902,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677902,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_1",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677902,
 | 
						|
      "column":"c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677882,
 | 
						|
      "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":1099511677902,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "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":1099511677902,
 | 
						|
      "column":"c4",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677882,
 | 
						|
      "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":1099511677902,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c4",
 | 
						|
        "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":1099511677902,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_1",
 | 
						|
        "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":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677902,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_1",
 | 
						|
        "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":"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":1099511677902,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c3",
 | 
						|
        "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":"c3",
 | 
						|
      "expr_name":"c3",
 | 
						|
      "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":1099511677902,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c4",
 | 
						|
        "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":"c4",
 | 
						|
      "expr_name":"c4",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677902,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677901,
 | 
						|
          "table_name":"v_mix_1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":2,
 | 
						|
          "ref_id":-1,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "table_name":"view_t2",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677882,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677901,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677901,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"v_mix_1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677901,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677901,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"v_mix_1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "column":"c3",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677882,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "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":17,
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "column":"c4",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677882,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c4",
 | 
						|
            "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":1099511677901,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"v_mix_1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"`view_db`.`v_mix_1`.`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":1099511677901,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"v_mix_1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`v_mix_1`.`c2`",
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c3",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c3",
 | 
						|
          "expr_name":"`view_db`.`view_t2`.`c3`",
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677882,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t2",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"c4",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c4",
 | 
						|
          "expr_name":"`view_db`.`view_t2`.`c4`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677901,
 | 
						|
          "is_join":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677882,
 | 
						|
          "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":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": [
 | 
						|
         {
 | 
						|
          "stmt_type":1,
 | 
						|
          "table": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "table_name":"view_t1",
 | 
						|
              "alias_name":"",
 | 
						|
              "synonym_name":"",
 | 
						|
              "table_type":0,
 | 
						|
              "ref_id":1099511677881,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "for_update":false,
 | 
						|
              "wait":-1,
 | 
						|
              "mock_id":-1,
 | 
						|
              "view_base_item":-1
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "joined_table": [
 | 
						|
          ],
 | 
						|
          "partition_express": [
 | 
						|
          ],
 | 
						|
          "column": [
 | 
						|
             {
 | 
						|
              "column_id":16,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c1",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "column_id":17,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c2",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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":true,
 | 
						|
              "alias_name":"c1",
 | 
						|
              "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":true,
 | 
						|
              "alias_name":"c2",
 | 
						|
              "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
              "default": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "distinct":false,
 | 
						|
          "rollup":false,
 | 
						|
          "nocycle":false,
 | 
						|
          "from": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "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":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
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 47   ***************
 | 
						|
create or replace view v_mix_2(v_t1_c1, v_t1_c2) as select c1 as v_t1_c1, c2 as v_t1_c2 from view_t1;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"v_mix_2", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1`.`c1` AS `v_t1_c1`,`view_db`.`view_t1`.`c2` AS `v_t1_c2` from `view_db`.`view_t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 48   ***************
 | 
						|
select * from v_mix_2;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677903,
 | 
						|
      "table_name":"v_mix_2",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677903,
 | 
						|
      "column":"v_t1_c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677903,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_mix_2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"v_t1_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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677903,
 | 
						|
      "column":"v_t1_c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677903,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_mix_2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"v_t1_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":1099511677903,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_mix_2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"v_t1_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":"v_t1_c1",
 | 
						|
      "expr_name":"v_t1_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":1099511677903,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_mix_2",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"v_t1_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":"v_t1_c2",
 | 
						|
      "expr_name":"v_t1_c2",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677903,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"v_t1_c1",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"v_t1_c2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 49   ***************
 | 
						|
create or replace view vv_mix_2 as select v_t1_c1,v_t1_c2,c1,c2 from v_mix_2, view_t3;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"vv_mix_2", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`v_mix_2`.`v_t1_c1` AS `v_t1_c1`,`view_db`.`v_mix_2`.`v_t1_c2` AS `v_t1_c2`,`view_db`.`view_t3`.`c1` AS `c1`,`view_db`.`view_t3`.`c2` AS `c2` from `view_db`.`v_mix_2`,`view_db`.`view_t3`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 50   ***************
 | 
						|
select * from (select * from (select c1 v_t1_c1, c2 v_t1_c2 from view_t1) as v_test, view_t3) as vv_test;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":-3,
 | 
						|
      "table_name":"vv_test",
 | 
						|
      "alias_name":"vv_test",
 | 
						|
      "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":-3,
 | 
						|
      "column":"v_t1_c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"v_t1_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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":-3,
 | 
						|
      "column":"v_t1_c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"v_t1_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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":-3,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677883,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":19,
 | 
						|
      "table_id":-3,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677883,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "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":-3,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"v_t1_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":"v_t1_c1",
 | 
						|
      "expr_name":"v_t1_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":-3,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"v_t1_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":"v_t1_c2",
 | 
						|
      "expr_name":"v_t1_c2",
 | 
						|
      "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":-3,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "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":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":-3,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "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":-3,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"v_test",
 | 
						|
          "alias_name":"v_test",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":2,
 | 
						|
          "ref_id":-1,
 | 
						|
          "database_name":"",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "table_name":"view_t3",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677883,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"v_t1_c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":"",
 | 
						|
            "table_name":"v_test",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"v_t1_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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"v_t1_c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":"",
 | 
						|
            "table_name":"v_test",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"v_t1_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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677883,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677883,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":"v_test",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"v_t1_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":"v_t1_c1",
 | 
						|
          "expr_name":"v_t1_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":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"",
 | 
						|
            "table_name":"v_test",
 | 
						|
            "synonym_name":"",
 | 
						|
            "column_name":"v_t1_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":"v_t1_c2",
 | 
						|
          "expr_name":"v_t1_c2",
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":0,
 | 
						|
              "calc_type": {
 | 
						|
                "type":"NULL",
 | 
						|
                "collation":"invalid_type",
 | 
						|
                "coercibility":"INVALID"
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "expr_info": [
 | 
						|
              "IS_COLUMN",
 | 
						|
              "CNT_COLUMN"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":-2,
 | 
						|
          "is_join":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "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":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": [
 | 
						|
         {
 | 
						|
          "stmt_type":1,
 | 
						|
          "table": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "table_name":"view_t1",
 | 
						|
              "alias_name":"",
 | 
						|
              "synonym_name":"",
 | 
						|
              "table_type":0,
 | 
						|
              "ref_id":1099511677881,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "for_update":false,
 | 
						|
              "wait":-1,
 | 
						|
              "mock_id":-1,
 | 
						|
              "view_base_item":-1
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "joined_table": [
 | 
						|
          ],
 | 
						|
          "partition_express": [
 | 
						|
          ],
 | 
						|
          "column": [
 | 
						|
             {
 | 
						|
              "column_id":16,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c1",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "column_id":17,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c2",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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":true,
 | 
						|
              "alias_name":"v_t1_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":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":true,
 | 
						|
              "alias_name":"v_t1_c2",
 | 
						|
              "expr_name":"c2",
 | 
						|
              "default": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "distinct":false,
 | 
						|
          "rollup":false,
 | 
						|
          "nocycle":false,
 | 
						|
          "from": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "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":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
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 51   ***************
 | 
						|
create or replace view v_mix_3 as select c1,c2 from view_t1;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"v_mix_3", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`view_t1`.`c1` AS `c1`,`view_db`.`view_t1`.`c2` AS `c2` from `view_db`.`view_t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 52   ***************
 | 
						|
select * from v_mix_3;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677905,
 | 
						|
      "table_name":"v_mix_3",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677905,
 | 
						|
      "column":"c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677905,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_mix_3",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677905,
 | 
						|
      "column":"c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677905,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_mix_3",
 | 
						|
        "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":1099511677905,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_mix_3",
 | 
						|
        "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":0,
 | 
						|
          "calc_type": {
 | 
						|
            "type":"NULL",
 | 
						|
            "collation":"invalid_type",
 | 
						|
            "coercibility":"INVALID"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "expr_info": [
 | 
						|
          "IS_COLUMN",
 | 
						|
          "CNT_COLUMN"
 | 
						|
        ],
 | 
						|
        "rel_id": [
 | 
						|
          1
 | 
						|
        ],
 | 
						|
        "table_id":1099511677905,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v_mix_3",
 | 
						|
        "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":1099511677905,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "table_name":"view_t1",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677881,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":1099511677881,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t1",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"c1",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_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":true,
 | 
						|
          "alias_name":"c2",
 | 
						|
          "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677881,
 | 
						|
          "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":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
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 53   ***************
 | 
						|
create or replace view vv_mix_3(vv_c1, vv_c2, vv_c3, vv_c4) as select v_mix_3.c1 as vv_c1, v_mix_3.c2 as vv_c2, view_t3.c1 as vv_c3, view_t3.c2 as vv_c4 from v_mix_3, view_t3;
 | 
						|
{"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":true, "schema":{"simple_table_schema":{"tenant_id":1, "database_id":18446744073709551615, "tablegroup_id":1099511627777, "table_id":18446744073709551615, "table_name":"vv_mix_3", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`v_mix_3`.`c1` AS `vv_c1`,`view_db`.`v_mix_3`.`c2` AS `vv_c2`,`view_db`.`view_t3`.`c1` AS `vv_c3`,`view_db`.`view_t3`.`c2` AS `vv_c4` from `view_db`.`v_mix_3`,`view_db`.`view_t3`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 54   ***************
 | 
						|
select * from (select v_test.c1 vv_c1, v_test.c2 vv_c2, view_t3.c1 vv_c3, view_t3.c2 vv_c4 from (select * from view_t1) as v_test, view_t3) as vv_test;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":-3,
 | 
						|
      "table_name":"vv_test",
 | 
						|
      "alias_name":"vv_test",
 | 
						|
      "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":-3,
 | 
						|
      "column":"vv_c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":-3,
 | 
						|
      "column":"vv_c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":-3,
 | 
						|
      "column":"vv_c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677883,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_c3",
 | 
						|
        "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":-3,
 | 
						|
      "column":"vv_c4",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677883,
 | 
						|
      "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":-3,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_c4",
 | 
						|
        "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":-3,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_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":"vv_c1",
 | 
						|
      "expr_name":"vv_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":-3,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_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":"vv_c2",
 | 
						|
      "expr_name":"vv_c2",
 | 
						|
      "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":-3,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_c3",
 | 
						|
        "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":"vv_c3",
 | 
						|
      "expr_name":"vv_c3",
 | 
						|
      "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":-3,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"",
 | 
						|
        "table_name":"vv_test",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_c4",
 | 
						|
        "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":"vv_c4",
 | 
						|
      "expr_name":"vv_c4",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":-3,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "table_name":"v_test",
 | 
						|
          "alias_name":"v_test",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":2,
 | 
						|
          "ref_id":-1,
 | 
						|
          "database_name":"",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "table_name":"view_t3",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677883,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "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":1099511677881,
 | 
						|
          "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":"",
 | 
						|
            "table_name":"v_test",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":-2,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":"",
 | 
						|
            "table_name":"v_test",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677883,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677883,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":"v_test",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vv_c1",
 | 
						|
          "expr_name":"v_test.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":-2,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"",
 | 
						|
            "table_name":"v_test",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vv_c2",
 | 
						|
          "expr_name":"v_test.c2",
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vv_c3",
 | 
						|
          "expr_name":"view_t3.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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vv_c4",
 | 
						|
          "expr_name":"view_t3.c2",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":-2,
 | 
						|
          "is_join":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "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":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": [
 | 
						|
         {
 | 
						|
          "stmt_type":1,
 | 
						|
          "table": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "table_name":"view_t1",
 | 
						|
              "alias_name":"",
 | 
						|
              "synonym_name":"",
 | 
						|
              "table_type":0,
 | 
						|
              "ref_id":1099511677881,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "for_update":false,
 | 
						|
              "wait":-1,
 | 
						|
              "mock_id":-1,
 | 
						|
              "view_base_item":-1
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "joined_table": [
 | 
						|
          ],
 | 
						|
          "partition_express": [
 | 
						|
          ],
 | 
						|
          "column": [
 | 
						|
             {
 | 
						|
              "column_id":16,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c1",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "column_id":17,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c2",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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":0,
 | 
						|
                  "calc_type": {
 | 
						|
                    "type":"NULL",
 | 
						|
                    "collation":"invalid_type",
 | 
						|
                    "coercibility":"INVALID"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "expr_info": [
 | 
						|
                  "IS_COLUMN",
 | 
						|
                  "CNT_COLUMN"
 | 
						|
                ],
 | 
						|
                "rel_id": [
 | 
						|
                  1
 | 
						|
                ],
 | 
						|
                "table_id":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":1099511677881,
 | 
						|
              "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":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
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 55   ***************
 | 
						|
select * from vv_mix_3;
 | 
						|
{
 | 
						|
  "stmt_type":1,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677906,
 | 
						|
      "table_name":"vv_mix_3",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":-1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "joined_table": [
 | 
						|
  ],
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677906,
 | 
						|
      "column":"vv_c1",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677906,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_3",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677906,
 | 
						|
      "column":"vv_c2",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677881,
 | 
						|
      "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":1099511677906,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_3",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":18,
 | 
						|
      "table_id":1099511677906,
 | 
						|
      "column":"vv_c3",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677883,
 | 
						|
      "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":1099511677906,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_3",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_c3",
 | 
						|
        "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":1099511677906,
 | 
						|
      "column":"vv_c4",
 | 
						|
      "auto_filled_timestamp":false,
 | 
						|
      "default_value": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      },
 | 
						|
      "base_tid":1099511677883,
 | 
						|
      "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":1099511677906,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_3",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_c4",
 | 
						|
        "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":1099511677906,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_3",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_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":"vv_c1",
 | 
						|
      "expr_name":"vv_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":1099511677906,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_3",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_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":"vv_c2",
 | 
						|
      "expr_name":"vv_c2",
 | 
						|
      "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":1099511677906,
 | 
						|
        "column_id":18,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_3",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_c3",
 | 
						|
        "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":"vv_c3",
 | 
						|
      "expr_name":"vv_c3",
 | 
						|
      "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":1099511677906,
 | 
						|
        "column_id":19,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"vv_mix_3",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"vv_c4",
 | 
						|
        "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":"vv_c4",
 | 
						|
      "expr_name":"vv_c4",
 | 
						|
      "default": {
 | 
						|
        "NULL":"NULL"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "distinct":false,
 | 
						|
  "rollup":false,
 | 
						|
  "nocycle":false,
 | 
						|
  "from": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677906,
 | 
						|
      "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":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": [
 | 
						|
     {
 | 
						|
      "stmt_type":1,
 | 
						|
      "table": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677905,
 | 
						|
          "table_name":"v_mix_3",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":2,
 | 
						|
          "ref_id":-1,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "table_name":"view_t3",
 | 
						|
          "alias_name":"",
 | 
						|
          "synonym_name":"",
 | 
						|
          "table_type":0,
 | 
						|
          "ref_id":1099511677883,
 | 
						|
          "database_name":"view_db",
 | 
						|
          "for_update":false,
 | 
						|
          "wait":-1,
 | 
						|
          "mock_id":-1,
 | 
						|
          "view_base_item":-1
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "joined_table": [
 | 
						|
      ],
 | 
						|
      "partition_express": [
 | 
						|
      ],
 | 
						|
      "column": [
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677905,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677905,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"v_mix_3",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677905,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677881,
 | 
						|
          "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":1099511677905,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"v_mix_3",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":16,
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "column":"c1",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677883,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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
 | 
						|
          }
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "column_id":17,
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "column":"c2",
 | 
						|
          "auto_filled_timestamp":false,
 | 
						|
          "default_value": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          },
 | 
						|
          "base_tid":1099511677883,
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":1099511677905,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"v_mix_3",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vv_c1",
 | 
						|
          "expr_name":"`view_db`.`v_mix_3`.`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":1099511677905,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"v_mix_3",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vv_c2",
 | 
						|
          "expr_name":"`view_db`.`v_mix_3`.`c2`",
 | 
						|
          "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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vv_c3",
 | 
						|
          "expr_name":"`view_db`.`view_t3`.`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": [
 | 
						|
              2
 | 
						|
            ],
 | 
						|
            "table_id":1099511677883,
 | 
						|
            "column_id":17,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"view_t3",
 | 
						|
            "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":true,
 | 
						|
          "alias_name":"vv_c4",
 | 
						|
          "expr_name":"`view_db`.`view_t3`.`c2`",
 | 
						|
          "default": {
 | 
						|
            "NULL":"NULL"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "distinct":false,
 | 
						|
      "rollup":false,
 | 
						|
      "nocycle":false,
 | 
						|
      "from": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677905,
 | 
						|
          "is_join":false
 | 
						|
        },
 | 
						|
         {
 | 
						|
          "table_id":1099511677883,
 | 
						|
          "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":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": [
 | 
						|
         {
 | 
						|
          "stmt_type":1,
 | 
						|
          "table": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "table_name":"view_t1",
 | 
						|
              "alias_name":"",
 | 
						|
              "synonym_name":"",
 | 
						|
              "table_type":0,
 | 
						|
              "ref_id":1099511677881,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "for_update":false,
 | 
						|
              "wait":-1,
 | 
						|
              "mock_id":-1,
 | 
						|
              "view_base_item":-1
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "joined_table": [
 | 
						|
          ],
 | 
						|
          "partition_express": [
 | 
						|
          ],
 | 
						|
          "column": [
 | 
						|
             {
 | 
						|
              "column_id":16,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c1",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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
 | 
						|
              }
 | 
						|
            },
 | 
						|
             {
 | 
						|
              "column_id":17,
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "column":"c2",
 | 
						|
              "auto_filled_timestamp":false,
 | 
						|
              "default_value": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              },
 | 
						|
              "base_tid":1099511677881,
 | 
						|
              "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":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":1099511677881,
 | 
						|
                "column_id":16,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_t1",
 | 
						|
                "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":true,
 | 
						|
              "alias_name":"c1",
 | 
						|
              "expr_name":"`view_db`.`view_t1`.`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":1099511677881,
 | 
						|
                "column_id":17,
 | 
						|
                "database_name":"view_db",
 | 
						|
                "table_name":"view_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":true,
 | 
						|
              "alias_name":"c2",
 | 
						|
              "expr_name":"`view_db`.`view_t1`.`c2`",
 | 
						|
              "default": {
 | 
						|
                "NULL":"NULL"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "distinct":false,
 | 
						|
          "rollup":false,
 | 
						|
          "nocycle":false,
 | 
						|
          "from": [
 | 
						|
             {
 | 
						|
              "table_id":1099511677881,
 | 
						|
              "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":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
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "has_transformed_for_hierarchical_query":false,
 | 
						|
      "is_hierarchical_query":false
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "has_transformed_for_hierarchical_query":false,
 | 
						|
  "is_hierarchical_query":false
 | 
						|
}
 | 
						|
***************   Case 56   ***************
 | 
						|
drop view if exists view_v1, view_v2, view_v3, view_v4, view_v5, view_v6, view_v7;
 | 
						|
{
 | 
						|
  "stmt_type":21,
 | 
						|
  "drop_table_arg": {
 | 
						|
    "tenant_id":1,
 | 
						|
    "table_type":4,
 | 
						|
    "tables": [
 | 
						|
       {
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v1"
 | 
						|
      },
 | 
						|
       {
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v2"
 | 
						|
      },
 | 
						|
       {
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v3"
 | 
						|
      },
 | 
						|
       {
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v4"
 | 
						|
      },
 | 
						|
       {
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v5"
 | 
						|
      },
 | 
						|
       {
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v6"
 | 
						|
      },
 | 
						|
       {
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"view_v7"
 | 
						|
      }
 | 
						|
    ],
 | 
						|
    "if_exist":true,
 | 
						|
    "to_recyclebin":false,
 | 
						|
    "session_id":-1,
 | 
						|
    "sess_create_time":0
 | 
						|
  }
 | 
						|
}
 | 
						|
***************   Case 57   ***************
 | 
						|
create view v1 as select c1,c2 from t1;
 | 
						|
{"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":"v1", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`t1`.`c1` AS `c1`,`view_db`.`t1`.`c2` AS `c2` from `view_db`.`t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 58   ***************
 | 
						|
create view v2 as (select c1,c2 from t1);
 | 
						|
{"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":"v2", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`t1`.`c1` AS `c1`,`view_db`.`t1`.`c2` AS `c2` from `view_db`.`t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 59   ***************
 | 
						|
create view v3 as ((select c1,c2 from t1));
 | 
						|
{"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":"v3", "replica_num":0, "previous_locality_str":"", "min_partition_id":0, "session_id":0, "index_type":0, "table_type":4, "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":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":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":"select `view_db`.`t1`.`c1` AS `c1`,`view_db`.`t1`.`c2` AS `c2` from `view_db`.`t1`", "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":[]}, "index_arg_list":[], "constraint_list":[], "db_name":"view_db", "last_replay_log_id":0, "foreign_key_arg_list":[], "vertical_partition_arg_list":[]}, "index_arg_list":[]}
 | 
						|
***************   Case 60   ***************
 | 
						|
insert into v1 values(1);
 | 
						|
***************   Case 61   ***************
 | 
						|
replace into v1 values(2);
 | 
						|
***************   Case 62   ***************
 | 
						|
update v1 set c1 = 3;
 | 
						|
{
 | 
						|
  "stmt_type":5,
 | 
						|
  "table": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677907,
 | 
						|
      "table_name":"v1",
 | 
						|
      "alias_name":"",
 | 
						|
      "synonym_name":"",
 | 
						|
      "table_type":2,
 | 
						|
      "ref_id":-1,
 | 
						|
      "database_name":"view_db",
 | 
						|
      "for_update":false,
 | 
						|
      "wait":-1,
 | 
						|
      "mock_id":-1,
 | 
						|
      "view_base_item":1099511677877
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "is_ignore":false,
 | 
						|
  "partition_express": [
 | 
						|
  ],
 | 
						|
  "column": [
 | 
						|
     {
 | 
						|
      "column_id":16,
 | 
						|
      "table_id":1099511677907,
 | 
						|
      "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":1099511677907,
 | 
						|
        "column_id":16,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v1",
 | 
						|
        "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
 | 
						|
      }
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "column_id":17,
 | 
						|
      "table_id":1099511677907,
 | 
						|
      "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":1099511677907,
 | 
						|
        "column_id":17,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "table_name":"v1",
 | 
						|
        "synonym_name":"",
 | 
						|
        "column_name":"c2",
 | 
						|
        "expr_level":0,
 | 
						|
        "expr_levels": [
 | 
						|
        ],
 | 
						|
        "column_flags":0,
 | 
						|
        "is_explicited_referece":true,
 | 
						|
        "explicited_ref_count":1,
 | 
						|
        "enum_set_values": [
 | 
						|
        ],
 | 
						|
        "is_lob_column":false
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "input_columns": [
 | 
						|
     {
 | 
						|
      "table_name":"v1",
 | 
						|
      "index_dml_infos": [
 | 
						|
         {
 | 
						|
          "table_id":1099511677907,
 | 
						|
          "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":1099511677907,
 | 
						|
              "column_id":16,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "table_name":"v1",
 | 
						|
              "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":0,
 | 
						|
                "calc_type": {
 | 
						|
                  "type":"NULL",
 | 
						|
                  "collation":"invalid_type",
 | 
						|
                  "coercibility":"INVALID"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "expr_info": [
 | 
						|
                "IS_COLUMN",
 | 
						|
                "CNT_COLUMN"
 | 
						|
              ],
 | 
						|
              "rel_id": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "table_id":1099511677907,
 | 
						|
              "column_id":17,
 | 
						|
              "database_name":"view_db",
 | 
						|
              "table_name":"v1",
 | 
						|
              "synonym_name":"",
 | 
						|
              "column_name":"c2",
 | 
						|
              "expr_level":0,
 | 
						|
              "expr_levels": [
 | 
						|
              ],
 | 
						|
              "column_flags":0,
 | 
						|
              "is_explicited_referece":true,
 | 
						|
              "explicited_ref_count":1,
 | 
						|
              "enum_set_values": [
 | 
						|
              ],
 | 
						|
              "is_lob_column":false
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "assignments": [
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "assign": [
 | 
						|
     {
 | 
						|
      "table": {
 | 
						|
        "table_id":1099511677907,
 | 
						|
        "table_name":"v1",
 | 
						|
        "alias_name":"",
 | 
						|
        "synonym_name":"",
 | 
						|
        "table_type":2,
 | 
						|
        "ref_id":-1,
 | 
						|
        "database_name":"view_db",
 | 
						|
        "for_update":false,
 | 
						|
        "wait":-1,
 | 
						|
        "mock_id":-1,
 | 
						|
        "view_base_item":1099511677877
 | 
						|
      },
 | 
						|
      "assign": [
 | 
						|
         {
 | 
						|
          "column": {
 | 
						|
            "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":1099511677907,
 | 
						|
            "column_id":16,
 | 
						|
            "database_name":"view_db",
 | 
						|
            "table_name":"v1",
 | 
						|
            "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
 | 
						|
          },
 | 
						|
          "expression": {
 | 
						|
            "item_type":"T_QUESTIONMARK",
 | 
						|
            "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_CONST",
 | 
						|
              "IS_PARAM",
 | 
						|
              "CNT_CONST",
 | 
						|
              "CNT_PARAM",
 | 
						|
              "IS_EXEC_PARM"
 | 
						|
            ],
 | 
						|
            "rel_id": [
 | 
						|
            ],
 | 
						|
            "value": {
 | 
						|
              "UNKNOWN":1
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "base_table_id":1099511677877,
 | 
						|
          "base_column_id":16
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "is_update_part_key":true,
 | 
						|
      "subquery_expr":null
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "where": [
 | 
						|
  ],
 | 
						|
  "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":"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_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":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_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
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
***************   Case 63   ***************
 | 
						|
delete from v1;
 | 
						|
***************   Case 64   ***************
 | 
						|
drop database view_db;
 | 
						|
{
 | 
						|
  "drop_database_arg":"tenant_id",
 | 
						|
  "database_name":"view_db",
 | 
						|
  "if_exist":false,
 | 
						|
  "to_recyclebin":false
 | 
						|
}
 |