16987 lines
		
	
	
		
			604 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			16987 lines
		
	
	
		
			604 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
[1] select c1, c1+c2 from t1 where c1 > 100 limit 1, 10
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":3,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":2,
 | 
						|
          "type":15,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":1,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_TABLE_SCAN": {
 | 
						|
                  "id":0,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                     {
 | 
						|
                      "result_index":2,
 | 
						|
                      "post_expr": [
 | 
						|
                         {
 | 
						|
                          "column_index":0,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":11,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "column_index":1,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":11,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "op": {
 | 
						|
                            "expr_type":"T_OP_ADD",
 | 
						|
                            "expr_name":"+",
 | 
						|
                            "param_num":2,
 | 
						|
                            "dimension":-1,
 | 
						|
                            "real_param_num":2,
 | 
						|
                            "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"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "input_type": [
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":11,
 | 
						|
                                "flag":16387
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":11,
 | 
						|
                                "flag":0
 | 
						|
                              }
 | 
						|
                            ]
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "ref_table_id":1099511677777,
 | 
						|
                  "index_table_id":1099511677777,
 | 
						|
                  "flag":1,
 | 
						|
                  "limit": [
 | 
						|
                     {
 | 
						|
                      "const": {
 | 
						|
                        "BIGINT":10
 | 
						|
                      },
 | 
						|
                      "accuracy": {
 | 
						|
                        "length":2,
 | 
						|
                        "precision":2,
 | 
						|
                        "scale":0
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "offset": [
 | 
						|
                     {
 | 
						|
                      "const": {
 | 
						|
                        "BIGINT":1
 | 
						|
                      },
 | 
						|
                      "accuracy": {
 | 
						|
                        "length":1,
 | 
						|
                        "precision":1,
 | 
						|
                        "scale":0
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "for_update":false,
 | 
						|
                  "wait":-1,
 | 
						|
                  "query_range": [
 | 
						|
                     {
 | 
						|
                      "in":false,
 | 
						|
                      "is_get":false,
 | 
						|
                      "is_standard":true,
 | 
						|
                      "range_graph": {
 | 
						|
                        "key_part_value": {
 | 
						|
                          "index_id": {
 | 
						|
                            "table_id":1099511677777,
 | 
						|
                            "column_id":16
 | 
						|
                          },
 | 
						|
                          "pos": {
 | 
						|
                            "offset":0,
 | 
						|
                            "column_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              },
 | 
						|
                              "flag":16387,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "enum_set_values": [
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "key_type":0,
 | 
						|
                          "null_safe":false,
 | 
						|
                          "start_value": {
 | 
						|
                            "INT":100
 | 
						|
                          },
 | 
						|
                          "end_value": {
 | 
						|
                            "EXT":"-2"
 | 
						|
                          },
 | 
						|
                          "include_start":false,
 | 
						|
                          "include_end":false,
 | 
						|
                          "always_true":false,
 | 
						|
                          "always_false":false
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "is_top_table_scan":true,
 | 
						|
                  "virtual_column_exprs": [
 | 
						|
                  ],
 | 
						|
                  "table_location_key":1099511677777,
 | 
						|
                  "output_column_ids": [
 | 
						|
                    16,
 | 
						|
                    17
 | 
						|
                  ],
 | 
						|
                  "table_param": {
 | 
						|
                    "table_id":1099511677777,
 | 
						|
                    "index_id":-1,
 | 
						|
                    "schema_version":247,
 | 
						|
                    "main_table_rowkey_cnt":1,
 | 
						|
                    "index_table_rowkey_cnt":0,
 | 
						|
                    "column_array": [
 | 
						|
                       {
 | 
						|
                        "column_id":16,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "column_id":17,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ],
 | 
						|
                    "projector": [
 | 
						|
                      0,
 | 
						|
                      1
 | 
						|
                    ],
 | 
						|
                    "output_projector": [
 | 
						|
                      0,
 | 
						|
                      1
 | 
						|
                    ],
 | 
						|
                    "index_column_array":null,
 | 
						|
                    "index_projector": [
 | 
						|
                    ],
 | 
						|
                    "index_output_projector": [
 | 
						|
                    ],
 | 
						|
                    "index_back_projector": [
 | 
						|
                    ],
 | 
						|
                    "pad_col_projector": [
 | 
						|
                    ]
 | 
						|
                  },
 | 
						|
                  "is_index_global":false
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[2] select c1, c1+c2 from t1 where c3 > 100 order by c2, c1
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":4,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":3,
 | 
						|
          "type":15,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":2,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SORT": {
 | 
						|
                  "id":1,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "order_by": [
 | 
						|
                     {
 | 
						|
                      "index_id":1,
 | 
						|
                      "collation_type":"binary",
 | 
						|
                      "ascending":"ASC"
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "index_id":0,
 | 
						|
                      "collation_type":"binary",
 | 
						|
                      "ascending":"ASC"
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "limit":134217728,
 | 
						|
                  "minimum_row_count":0,
 | 
						|
                  "topk_precision":0
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":4,
 | 
						|
                      "projector": [
 | 
						|
                        1,
 | 
						|
                        2,
 | 
						|
                        3
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "column_index":0,
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":100
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":3,
 | 
						|
                              "precision":3,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "op": {
 | 
						|
                              "expr_type":"T_OP_GT",
 | 
						|
                              "expr_name":">",
 | 
						|
                              "param_num":2,
 | 
						|
                              "dimension":-1,
 | 
						|
                              "real_param_num":2,
 | 
						|
                              "result_type": {
 | 
						|
                                "meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":1,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "flag":0,
 | 
						|
                                "calc_type": {
 | 
						|
                                  "type":"DECIMAL",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                              "input_type": [
 | 
						|
                                 {
 | 
						|
                                  "calc_meta": {
 | 
						|
                                    "type":"INT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "length":11,
 | 
						|
                                  "flag":0
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "calc_meta": {
 | 
						|
                                    "type":"BIGINT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "length":3,
 | 
						|
                                  "flag":1
 | 
						|
                                }
 | 
						|
                              ]
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ]
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":3,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":1,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "column_index":2,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_OP_ADD",
 | 
						|
                                "expr_name":"+",
 | 
						|
                                "param_num":2,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":2,
 | 
						|
                                "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"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"INT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":16387
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"INT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":0
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        18,
 | 
						|
                        16,
 | 
						|
                        17
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          2,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          1,
 | 
						|
                          0,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[3] select c1, sum(c1+c2) from t1 where c3 > 100 group by c2, c1
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":4,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":3,
 | 
						|
          "type":15,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":2,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_MERGE_GROUP_BY": {
 | 
						|
                  "id":1,
 | 
						|
                  "type":8,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "aggr_col": [
 | 
						|
                     {
 | 
						|
                      "result_index":2,
 | 
						|
                      "aggr_func":"SUM",
 | 
						|
                      "distinct":false,
 | 
						|
                      "post_expr": [
 | 
						|
                         {
 | 
						|
                          "column_index":3,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":12,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "mem_limit":0,
 | 
						|
                  "group_by_idx": [
 | 
						|
                     {
 | 
						|
                      "index_id":0,
 | 
						|
                      "collation_type":"binary"
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "rollup":false
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":4,
 | 
						|
                      "projector": [
 | 
						|
                        1,
 | 
						|
                        3
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "column_index":0,
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":100
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":3,
 | 
						|
                              "precision":3,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "op": {
 | 
						|
                              "expr_type":"T_OP_GT",
 | 
						|
                              "expr_name":">",
 | 
						|
                              "param_num":2,
 | 
						|
                              "dimension":-1,
 | 
						|
                              "real_param_num":2,
 | 
						|
                              "result_type": {
 | 
						|
                                "meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":1,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "flag":0,
 | 
						|
                                "calc_type": {
 | 
						|
                                  "type":"DECIMAL",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                              "input_type": [
 | 
						|
                                 {
 | 
						|
                                  "calc_meta": {
 | 
						|
                                    "type":"INT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "length":11,
 | 
						|
                                  "flag":0
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "calc_meta": {
 | 
						|
                                    "type":"BIGINT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "length":3,
 | 
						|
                                  "flag":1
 | 
						|
                                }
 | 
						|
                              ]
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ]
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":3,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":1,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "column_index":2,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_OP_ADD",
 | 
						|
                                "expr_name":"+",
 | 
						|
                                "param_num":2,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":2,
 | 
						|
                                "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"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"INT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":16387
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"INT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":0
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        18,
 | 
						|
                        16,
 | 
						|
                        17
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          2,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          1,
 | 
						|
                          0,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[4] insert into t1 values (1, 2, 3), (4, 5, 6);
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":4,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":3,
 | 
						|
          "type":15,
 | 
						|
          "column_count":0,
 | 
						|
          "projector":null,
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":2,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector":null,
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_INSERT": {
 | 
						|
                  "id":1,
 | 
						|
                  "type":24,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677777,
 | 
						|
                  "column_id": [
 | 
						|
                    16,
 | 
						|
                    17,
 | 
						|
                    18
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_EXPR_VALUES": {
 | 
						|
                      "id":0,
 | 
						|
                      "type":30,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "values": [
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":1
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":2
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":3
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":4
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":5
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":6
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ]
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[5] delete from t1 where c1 > 5
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":4,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":3,
 | 
						|
          "type":15,
 | 
						|
          "column_count":0,
 | 
						|
          "projector":null,
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":2,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector":null,
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_DELETE": {
 | 
						|
                  "id":1,
 | 
						|
                  "type":26,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677777,
 | 
						|
                  "column_id": [
 | 
						|
                    16,
 | 
						|
                    17,
 | 
						|
                    18
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":16
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":0,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"INT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":11,
 | 
						|
                                    "scale":0
 | 
						|
                                  },
 | 
						|
                                  "flag":16387,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "INT":5
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":false,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[6] select * from t1,t2 where t1.c1+1= t2.c1
 | 
						|
{
 | 
						|
  "param_num":2,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":6,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":5,
 | 
						|
          "type":15,
 | 
						|
          "column_count":6,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            2,
 | 
						|
            3,
 | 
						|
            4,
 | 
						|
            5
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":4,
 | 
						|
              "type":14,
 | 
						|
              "column_count":7,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1,
 | 
						|
                2,
 | 
						|
                4,
 | 
						|
                5,
 | 
						|
                6
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_MERGE_JOIN": {
 | 
						|
                  "id":3,
 | 
						|
                  "column_count":7,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2,
 | 
						|
                    4,
 | 
						|
                    5,
 | 
						|
                    6
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "join_type":"JOIN",
 | 
						|
                  "equal_join_conds": [
 | 
						|
                     [
 | 
						|
                       {
 | 
						|
                        "column_index":3,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":12,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "column_index":4,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_OP_EQ",
 | 
						|
                          "expr_name":"=",
 | 
						|
                          "param_num":2,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":2,
 | 
						|
                          "result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":1,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"DECIMAL",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "input_type": [
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"BIGINT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":12,
 | 
						|
                              "flag":1
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":11,
 | 
						|
                              "flag":16387
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  ],
 | 
						|
                  "other_join_conds": [
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_SORT": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":4,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2,
 | 
						|
                        3
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "order_by": [
 | 
						|
                         {
 | 
						|
                          "index_id":3,
 | 
						|
                          "collation_type":"binary",
 | 
						|
                          "ascending":"ASC"
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "limit":134217728,
 | 
						|
                      "minimum_row_count":0,
 | 
						|
                      "topk_precision":0
 | 
						|
                    },
 | 
						|
                    "child_operators": [
 | 
						|
                       {
 | 
						|
                        "PHY_TABLE_SCAN": {
 | 
						|
                          "id":0,
 | 
						|
                          "column_count":4,
 | 
						|
                          "projector": [
 | 
						|
                            0,
 | 
						|
                            1,
 | 
						|
                            2,
 | 
						|
                            3
 | 
						|
                          ],
 | 
						|
                          "filter_exprs": [
 | 
						|
                          ],
 | 
						|
                          "calc_exprs": [
 | 
						|
                             {
 | 
						|
                              "result_index":3,
 | 
						|
                              "post_expr": [
 | 
						|
                                 {
 | 
						|
                                  "column_index":0,
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":11,
 | 
						|
                                    "scale":0
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "const": {
 | 
						|
                                    "BIGINT":1
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":1,
 | 
						|
                                    "precision":1,
 | 
						|
                                    "scale":0
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "op": {
 | 
						|
                                    "expr_type":"T_OP_ADD",
 | 
						|
                                    "expr_name":"+",
 | 
						|
                                    "param_num":2,
 | 
						|
                                    "dimension":-1,
 | 
						|
                                    "real_param_num":2,
 | 
						|
                                    "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"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "input_type": [
 | 
						|
                                       {
 | 
						|
                                        "calc_meta": {
 | 
						|
                                          "type":"INT",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        },
 | 
						|
                                        "length":11,
 | 
						|
                                        "flag":16387
 | 
						|
                                      },
 | 
						|
                                       {
 | 
						|
                                        "calc_meta": {
 | 
						|
                                          "type":"BIGINT",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        },
 | 
						|
                                        "length":1,
 | 
						|
                                        "flag":1
 | 
						|
                                      }
 | 
						|
                                    ]
 | 
						|
                                  }
 | 
						|
                                }
 | 
						|
                              ]
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "ref_table_id":1099511677777,
 | 
						|
                          "index_table_id":1099511677777,
 | 
						|
                          "flag":1,
 | 
						|
                          "limit": [
 | 
						|
                          ],
 | 
						|
                          "offset": [
 | 
						|
                          ],
 | 
						|
                          "for_update":false,
 | 
						|
                          "wait":-1,
 | 
						|
                          "query_range": [
 | 
						|
                             {
 | 
						|
                              "in":false,
 | 
						|
                              "is_get":false,
 | 
						|
                              "is_standard":true,
 | 
						|
                              "range_graph": {
 | 
						|
                                "key_part_value": {
 | 
						|
                                  "index_id": {
 | 
						|
                                    "table_id":1099511677777,
 | 
						|
                                    "column_id":-1
 | 
						|
                                  },
 | 
						|
                                  "pos": {
 | 
						|
                                    "offset":-1,
 | 
						|
                                    "column_type": {
 | 
						|
                                      "meta": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      },
 | 
						|
                                      "accuracy": {
 | 
						|
                                        "length":-1,
 | 
						|
                                        "precision":-1,
 | 
						|
                                        "scale":-1
 | 
						|
                                      },
 | 
						|
                                      "flag":0,
 | 
						|
                                      "calc_type": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "enum_set_values": [
 | 
						|
                                    ]
 | 
						|
                                  },
 | 
						|
                                  "key_type":0,
 | 
						|
                                  "null_safe":false,
 | 
						|
                                  "start_value": {
 | 
						|
                                    "EXT":"-3"
 | 
						|
                                  },
 | 
						|
                                  "end_value": {
 | 
						|
                                    "EXT":"-2"
 | 
						|
                                  },
 | 
						|
                                  "include_start":false,
 | 
						|
                                  "include_end":false,
 | 
						|
                                  "always_true":true,
 | 
						|
                                  "always_false":false
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "is_top_table_scan":false,
 | 
						|
                          "virtual_column_exprs": [
 | 
						|
                          ],
 | 
						|
                          "table_location_key":1099511677777,
 | 
						|
                          "output_column_ids": [
 | 
						|
                            16,
 | 
						|
                            17,
 | 
						|
                            18
 | 
						|
                          ],
 | 
						|
                          "table_param": {
 | 
						|
                            "table_id":1099511677777,
 | 
						|
                            "index_id":-1,
 | 
						|
                            "schema_version":247,
 | 
						|
                            "main_table_rowkey_cnt":1,
 | 
						|
                            "index_table_rowkey_cnt":0,
 | 
						|
                            "column_array": [
 | 
						|
                               {
 | 
						|
                                "column_id":16,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":11,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "column_id":17,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":11,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "column_id":18,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":11,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            ],
 | 
						|
                            "projector": [
 | 
						|
                              0,
 | 
						|
                              1,
 | 
						|
                              2
 | 
						|
                            ],
 | 
						|
                            "output_projector": [
 | 
						|
                              0,
 | 
						|
                              1,
 | 
						|
                              2
 | 
						|
                            ],
 | 
						|
                            "index_column_array":null,
 | 
						|
                            "index_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_output_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_back_projector": [
 | 
						|
                            ],
 | 
						|
                            "pad_col_projector": [
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "is_index_global":false
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":2,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677778,
 | 
						|
                      "index_table_id":1099511677778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677778,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":248,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":32,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[7] select t1.c1, t2.c2, t2.c3 from t1,t2 where t1.c1 > t2.c1 + t2.c2
 | 
						|
{
 | 
						|
  "param_num":2,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":3,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            2
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":4,
 | 
						|
              "projector": [
 | 
						|
                3,
 | 
						|
                0,
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_NESTED_LOOP_JOIN": {
 | 
						|
                  "id":2,
 | 
						|
                  "column_count":4,
 | 
						|
                  "projector": [
 | 
						|
                    3,
 | 
						|
                    0,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "join_type":"JOIN",
 | 
						|
                  "equal_join_conds": [
 | 
						|
                     {
 | 
						|
                      "expression": [
 | 
						|
                         {
 | 
						|
                          "column_index":3,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":12,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "index":1
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "other_join_conds": [
 | 
						|
                  ],
 | 
						|
                  "inner_get":false,
 | 
						|
                  "self_join":false
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":4,
 | 
						|
                      "projector": [
 | 
						|
                        1,
 | 
						|
                        2,
 | 
						|
                        3
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":3,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":0,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "column_index":1,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_OP_ADD",
 | 
						|
                                "expr_name":"+",
 | 
						|
                                "param_num":2,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":2,
 | 
						|
                                "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"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"INT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":16387
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"INT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":0
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677778,
 | 
						|
                      "index_table_id":1099511677778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677778,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":248,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":32,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":16
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":0,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"INT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":11,
 | 
						|
                                    "scale":0
 | 
						|
                                  },
 | 
						|
                                  "flag":16387,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "UNKNOWN":1
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":false,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[8] update t1 vt1 set c2=c1+1 where c1 > 1 order by c1 desc limit 0, 10
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":0,
 | 
						|
          "projector":null,
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":0,
 | 
						|
              "projector":null,
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_UPDATE": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":25,
 | 
						|
                  "column_count":0,
 | 
						|
                  "projector": [
 | 
						|
                    1,
 | 
						|
                    3,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677777,
 | 
						|
                  "column_id": [
 | 
						|
                    16,
 | 
						|
                    17,
 | 
						|
                    18
 | 
						|
                  ],
 | 
						|
                  "updated_column_id": [
 | 
						|
                    17
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_LIMIT": {
 | 
						|
                      "id":1,
 | 
						|
                      "type":1,
 | 
						|
                      "column_count":4,
 | 
						|
                      "projector": [
 | 
						|
                        1,
 | 
						|
                        0,
 | 
						|
                        2,
 | 
						|
                        3
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "limit": [
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "BIGINT":10
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":2,
 | 
						|
                            "precision":2,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "BIGINT":0
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":1,
 | 
						|
                            "precision":1,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    },
 | 
						|
                    "child_operators": [
 | 
						|
                       {
 | 
						|
                        "PHY_TABLE_SCAN": {
 | 
						|
                          "id":0,
 | 
						|
                          "column_count":4,
 | 
						|
                          "projector": [
 | 
						|
                            0,
 | 
						|
                            1,
 | 
						|
                            2,
 | 
						|
                            3
 | 
						|
                          ],
 | 
						|
                          "filter_exprs": [
 | 
						|
                          ],
 | 
						|
                          "calc_exprs": [
 | 
						|
                             {
 | 
						|
                              "result_index":3,
 | 
						|
                              "post_expr": [
 | 
						|
                                 {
 | 
						|
                                  "const": {
 | 
						|
                                    "INT":4
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "const": {
 | 
						|
                                    "INT":63
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "const": {
 | 
						|
                                    "BIGINT":51539607551
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "const": {
 | 
						|
                                    "TINYINT":1
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "column_index":1,
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":11,
 | 
						|
                                    "scale":0
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "const": {
 | 
						|
                                    "BIGINT":1
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":1,
 | 
						|
                                    "precision":1,
 | 
						|
                                    "scale":0
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "op": {
 | 
						|
                                    "expr_type":"T_OP_ADD",
 | 
						|
                                    "expr_name":"+",
 | 
						|
                                    "param_num":2,
 | 
						|
                                    "dimension":-1,
 | 
						|
                                    "real_param_num":2,
 | 
						|
                                    "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"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "input_type": [
 | 
						|
                                       {
 | 
						|
                                        "calc_meta": {
 | 
						|
                                          "type":"INT",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        },
 | 
						|
                                        "length":11,
 | 
						|
                                        "flag":16387
 | 
						|
                                      },
 | 
						|
                                       {
 | 
						|
                                        "calc_meta": {
 | 
						|
                                          "type":"BIGINT",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        },
 | 
						|
                                        "length":1,
 | 
						|
                                        "flag":1
 | 
						|
                                      }
 | 
						|
                                    ]
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "op": {
 | 
						|
                                    "expr_type":"T_FUN_COLUMN_CONV",
 | 
						|
                                    "expr_name":"column_conv",
 | 
						|
                                    "param_num":5,
 | 
						|
                                    "dimension":-1,
 | 
						|
                                    "real_param_num":5,
 | 
						|
                                    "result_type": {
 | 
						|
                                      "meta": {
 | 
						|
                                        "type":"INT",
 | 
						|
                                        "collation":"binary",
 | 
						|
                                        "coercibility":"IMPLICIT"
 | 
						|
                                      },
 | 
						|
                                      "accuracy": {
 | 
						|
                                        "length":-1,
 | 
						|
                                        "precision":11,
 | 
						|
                                        "scale":0
 | 
						|
                                      },
 | 
						|
                                      "flag":0,
 | 
						|
                                      "calc_type": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "input_type": [
 | 
						|
                                       {
 | 
						|
                                        "calc_meta": {
 | 
						|
                                          "type":"INT",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        },
 | 
						|
                                        "length":11,
 | 
						|
                                        "flag":0
 | 
						|
                                      },
 | 
						|
                                       {
 | 
						|
                                        "calc_meta": {
 | 
						|
                                          "type":"NULL",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"IGNORABLE"
 | 
						|
                                        },
 | 
						|
                                        "length":0,
 | 
						|
                                        "flag":0
 | 
						|
                                      },
 | 
						|
                                       {
 | 
						|
                                        "calc_meta": {
 | 
						|
                                          "type":"NULL",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"IGNORABLE"
 | 
						|
                                        },
 | 
						|
                                        "length":0,
 | 
						|
                                        "flag":0
 | 
						|
                                      },
 | 
						|
                                       {
 | 
						|
                                        "calc_meta": {
 | 
						|
                                          "type":"NULL",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"IGNORABLE"
 | 
						|
                                        },
 | 
						|
                                        "length":0,
 | 
						|
                                        "flag":0
 | 
						|
                                      },
 | 
						|
                                       {
 | 
						|
                                        "calc_meta": {
 | 
						|
                                          "type":"BIGINT",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        },
 | 
						|
                                        "length":12,
 | 
						|
                                        "flag":1
 | 
						|
                                      }
 | 
						|
                                    ]
 | 
						|
                                  }
 | 
						|
                                }
 | 
						|
                              ]
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "ref_table_id":1099511677777,
 | 
						|
                          "index_table_id":1099511677777,
 | 
						|
                          "flag":2,
 | 
						|
                          "limit": [
 | 
						|
                          ],
 | 
						|
                          "offset": [
 | 
						|
                          ],
 | 
						|
                          "for_update":false,
 | 
						|
                          "wait":-1,
 | 
						|
                          "query_range": [
 | 
						|
                             {
 | 
						|
                              "in":false,
 | 
						|
                              "is_get":false,
 | 
						|
                              "is_standard":true,
 | 
						|
                              "range_graph": {
 | 
						|
                                "key_part_value": {
 | 
						|
                                  "index_id": {
 | 
						|
                                    "table_id":1099511677777,
 | 
						|
                                    "column_id":16
 | 
						|
                                  },
 | 
						|
                                  "pos": {
 | 
						|
                                    "offset":0,
 | 
						|
                                    "column_type": {
 | 
						|
                                      "meta": {
 | 
						|
                                        "type":"INT",
 | 
						|
                                        "collation":"binary",
 | 
						|
                                        "coercibility":"NUMERIC"
 | 
						|
                                      },
 | 
						|
                                      "accuracy": {
 | 
						|
                                        "length":-1,
 | 
						|
                                        "precision":11,
 | 
						|
                                        "scale":0
 | 
						|
                                      },
 | 
						|
                                      "flag":16387,
 | 
						|
                                      "calc_type": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "enum_set_values": [
 | 
						|
                                    ]
 | 
						|
                                  },
 | 
						|
                                  "key_type":0,
 | 
						|
                                  "null_safe":false,
 | 
						|
                                  "start_value": {
 | 
						|
                                    "INT":1
 | 
						|
                                  },
 | 
						|
                                  "end_value": {
 | 
						|
                                    "EXT":"-2"
 | 
						|
                                  },
 | 
						|
                                  "include_start":false,
 | 
						|
                                  "include_end":false,
 | 
						|
                                  "always_true":false,
 | 
						|
                                  "always_false":false
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "is_top_table_scan":false,
 | 
						|
                          "virtual_column_exprs": [
 | 
						|
                          ],
 | 
						|
                          "table_location_key":1099511677777,
 | 
						|
                          "output_column_ids": [
 | 
						|
                            17,
 | 
						|
                            16,
 | 
						|
                            18
 | 
						|
                          ],
 | 
						|
                          "table_param": {
 | 
						|
                            "table_id":1099511677777,
 | 
						|
                            "index_id":-1,
 | 
						|
                            "schema_version":247,
 | 
						|
                            "main_table_rowkey_cnt":1,
 | 
						|
                            "index_table_rowkey_cnt":0,
 | 
						|
                            "column_array": [
 | 
						|
                               {
 | 
						|
                                "column_id":16,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":11,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "column_id":17,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":11,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "column_id":18,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":11,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            ],
 | 
						|
                            "projector": [
 | 
						|
                              0,
 | 
						|
                              1,
 | 
						|
                              2
 | 
						|
                            ],
 | 
						|
                            "output_projector": [
 | 
						|
                              1,
 | 
						|
                              0,
 | 
						|
                              2
 | 
						|
                            ],
 | 
						|
                            "index_column_array":null,
 | 
						|
                            "index_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_output_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_back_projector": [
 | 
						|
                            ],
 | 
						|
                            "pad_col_projector": [
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "is_index_global":false
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[9] UPDATE oceanbase.__all_root_table SET sql_port = 51997, zone = 'test', partition_cnt = 1, role = 0, row_count = 0, data_size = 0, data_version = 1, data_checksum = 0, row_checksum = 0, column_checksum = '' WHERE tenant_id = 1 AND table_id = 2 AND partition_id = 0 AND svr_ip = '10.232.36.175' AND svr_port = 51951;
 | 
						|
{
 | 
						|
  "param_num":11,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511627778,
 | 
						|
      "schema_version":3,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":4,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":3,
 | 
						|
          "type":15,
 | 
						|
          "column_count":0,
 | 
						|
          "projector":null,
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":2,
 | 
						|
              "type":14,
 | 
						|
              "column_count":0,
 | 
						|
              "projector":null,
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_UPDATE": {
 | 
						|
                  "id":1,
 | 
						|
                  "type":25,
 | 
						|
                  "column_count":0,
 | 
						|
                  "projector": [
 | 
						|
                    11,
 | 
						|
                    12,
 | 
						|
                    13,
 | 
						|
                    14,
 | 
						|
                    15,
 | 
						|
                    16,
 | 
						|
                    40,
 | 
						|
                    30,
 | 
						|
                    17,
 | 
						|
                    32,
 | 
						|
                    31,
 | 
						|
                    33,
 | 
						|
                    18,
 | 
						|
                    34,
 | 
						|
                    35,
 | 
						|
                    36,
 | 
						|
                    37,
 | 
						|
                    38,
 | 
						|
                    39,
 | 
						|
                    19,
 | 
						|
                    20,
 | 
						|
                    21,
 | 
						|
                    22,
 | 
						|
                    23,
 | 
						|
                    24,
 | 
						|
                    25,
 | 
						|
                    26,
 | 
						|
                    27,
 | 
						|
                    28,
 | 
						|
                    29
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511627778,
 | 
						|
                  "column_id": [
 | 
						|
                    18,
 | 
						|
                    19,
 | 
						|
                    20,
 | 
						|
                    21,
 | 
						|
                    22,
 | 
						|
                    16,
 | 
						|
                    17,
 | 
						|
                    23,
 | 
						|
                    24,
 | 
						|
                    25,
 | 
						|
                    26,
 | 
						|
                    27,
 | 
						|
                    28,
 | 
						|
                    29,
 | 
						|
                    30,
 | 
						|
                    31,
 | 
						|
                    32,
 | 
						|
                    33,
 | 
						|
                    34,
 | 
						|
                    35,
 | 
						|
                    36,
 | 
						|
                    37,
 | 
						|
                    38,
 | 
						|
                    39,
 | 
						|
                    40,
 | 
						|
                    41,
 | 
						|
                    42,
 | 
						|
                    43,
 | 
						|
                    44,
 | 
						|
                    45
 | 
						|
                  ],
 | 
						|
                  "updated_column_id": [
 | 
						|
                    23,
 | 
						|
                    26,
 | 
						|
                    25,
 | 
						|
                    27,
 | 
						|
                    29,
 | 
						|
                    30,
 | 
						|
                    31,
 | 
						|
                    32,
 | 
						|
                    33,
 | 
						|
                    34,
 | 
						|
                    17
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":41,
 | 
						|
                      "projector": [
 | 
						|
                        11,
 | 
						|
                        12,
 | 
						|
                        13,
 | 
						|
                        14,
 | 
						|
                        15,
 | 
						|
                        16,
 | 
						|
                        10,
 | 
						|
                        0,
 | 
						|
                        17,
 | 
						|
                        2,
 | 
						|
                        1,
 | 
						|
                        3,
 | 
						|
                        18,
 | 
						|
                        4,
 | 
						|
                        5,
 | 
						|
                        6,
 | 
						|
                        7,
 | 
						|
                        8,
 | 
						|
                        9,
 | 
						|
                        19,
 | 
						|
                        20,
 | 
						|
                        21,
 | 
						|
                        22,
 | 
						|
                        23,
 | 
						|
                        24,
 | 
						|
                        25,
 | 
						|
                        26,
 | 
						|
                        27,
 | 
						|
                        28,
 | 
						|
                        29,
 | 
						|
                        30,
 | 
						|
                        31,
 | 
						|
                        32,
 | 
						|
                        33,
 | 
						|
                        34,
 | 
						|
                        35,
 | 
						|
                        36,
 | 
						|
                        37,
 | 
						|
                        38,
 | 
						|
                        39,
 | 
						|
                        40
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":30,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":0,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":20,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "result_index":31,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":1,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":128,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "result_index":32,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":2,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":20,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "result_index":33,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":3,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":20,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "result_index":34,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":4,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":20,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "result_index":35,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":5,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":20,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "result_index":36,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":6,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":20,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "result_index":37,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":7,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":20,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "result_index":38,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":8,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":20,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "result_index":39,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":9,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":8192,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "result_index":40,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":10,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":25,
 | 
						|
                                "scale":6
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511627778,
 | 
						|
                      "index_table_id":1099511627778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":true,
 | 
						|
                          "is_get":true,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511627778,
 | 
						|
                                "column_id":18
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":0,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"BIGINT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":20,
 | 
						|
                                    "scale":0
 | 
						|
                                  },
 | 
						|
                                  "flag":16387,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "BIGINT":1
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "BIGINT":1
 | 
						|
                              },
 | 
						|
                              "include_start":true,
 | 
						|
                              "include_end":true,
 | 
						|
                              "always_true":false,
 | 
						|
                              "always_false":false
 | 
						|
                            },
 | 
						|
                            "and_key_part": {
 | 
						|
                              "key_part_value": {
 | 
						|
                                "index_id": {
 | 
						|
                                  "table_id":1099511627778,
 | 
						|
                                  "column_id":19
 | 
						|
                                },
 | 
						|
                                "pos": {
 | 
						|
                                  "offset":1,
 | 
						|
                                  "column_type": {
 | 
						|
                                    "meta": {
 | 
						|
                                      "type":"BIGINT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "accuracy": {
 | 
						|
                                      "length":-1,
 | 
						|
                                      "precision":20,
 | 
						|
                                      "scale":0
 | 
						|
                                    },
 | 
						|
                                    "flag":16387,
 | 
						|
                                    "calc_type": {
 | 
						|
                                      "type":"NULL",
 | 
						|
                                      "collation":"invalid_type",
 | 
						|
                                      "coercibility":"INVALID"
 | 
						|
                                    }
 | 
						|
                                  },
 | 
						|
                                  "enum_set_values": [
 | 
						|
                                  ]
 | 
						|
                                },
 | 
						|
                                "key_type":0,
 | 
						|
                                "null_safe":false,
 | 
						|
                                "start_value": {
 | 
						|
                                  "BIGINT":2
 | 
						|
                                },
 | 
						|
                                "end_value": {
 | 
						|
                                  "BIGINT":2
 | 
						|
                                },
 | 
						|
                                "include_start":true,
 | 
						|
                                "include_end":true,
 | 
						|
                                "always_true":false,
 | 
						|
                                "always_false":false
 | 
						|
                              },
 | 
						|
                              "and_key_part": {
 | 
						|
                                "key_part_value": {
 | 
						|
                                  "index_id": {
 | 
						|
                                    "table_id":1099511627778,
 | 
						|
                                    "column_id":20
 | 
						|
                                  },
 | 
						|
                                  "pos": {
 | 
						|
                                    "offset":2,
 | 
						|
                                    "column_type": {
 | 
						|
                                      "meta": {
 | 
						|
                                        "type":"BIGINT",
 | 
						|
                                        "collation":"binary",
 | 
						|
                                        "coercibility":"NUMERIC"
 | 
						|
                                      },
 | 
						|
                                      "accuracy": {
 | 
						|
                                        "length":-1,
 | 
						|
                                        "precision":20,
 | 
						|
                                        "scale":0
 | 
						|
                                      },
 | 
						|
                                      "flag":16387,
 | 
						|
                                      "calc_type": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "enum_set_values": [
 | 
						|
                                    ]
 | 
						|
                                  },
 | 
						|
                                  "key_type":0,
 | 
						|
                                  "null_safe":false,
 | 
						|
                                  "start_value": {
 | 
						|
                                    "BIGINT":0
 | 
						|
                                  },
 | 
						|
                                  "end_value": {
 | 
						|
                                    "BIGINT":0
 | 
						|
                                  },
 | 
						|
                                  "include_start":true,
 | 
						|
                                  "include_end":true,
 | 
						|
                                  "always_true":false,
 | 
						|
                                  "always_false":false
 | 
						|
                                },
 | 
						|
                                "and_key_part": {
 | 
						|
                                  "key_part_value": {
 | 
						|
                                    "index_id": {
 | 
						|
                                      "table_id":1099511627778,
 | 
						|
                                      "column_id":21
 | 
						|
                                    },
 | 
						|
                                    "pos": {
 | 
						|
                                      "offset":3,
 | 
						|
                                      "column_type": {
 | 
						|
                                        "meta": {
 | 
						|
                                          "type":"VARCHAR",
 | 
						|
                                          "collation":"utf8mb4_general_ci",
 | 
						|
                                          "coercibility":"IMPLICIT"
 | 
						|
                                        },
 | 
						|
                                        "accuracy": {
 | 
						|
                                          "length":32,
 | 
						|
                                          "precision":-1,
 | 
						|
                                          "scale":-1
 | 
						|
                                        },
 | 
						|
                                        "flag":16387,
 | 
						|
                                        "calc_type": {
 | 
						|
                                          "type":"NULL",
 | 
						|
                                          "collation":"invalid_type",
 | 
						|
                                          "coercibility":"INVALID"
 | 
						|
                                        }
 | 
						|
                                      },
 | 
						|
                                      "enum_set_values": [
 | 
						|
                                      ]
 | 
						|
                                    },
 | 
						|
                                    "key_type":0,
 | 
						|
                                    "null_safe":false,
 | 
						|
                                    "start_value": {
 | 
						|
                                      "VARCHAR":"10.232.36.175",
 | 
						|
                                      "collation":"utf8mb4_general_ci"
 | 
						|
                                    },
 | 
						|
                                    "end_value": {
 | 
						|
                                      "VARCHAR":"10.232.36.175",
 | 
						|
                                      "collation":"utf8mb4_general_ci"
 | 
						|
                                    },
 | 
						|
                                    "include_start":true,
 | 
						|
                                    "include_end":true,
 | 
						|
                                    "always_true":false,
 | 
						|
                                    "always_false":false
 | 
						|
                                  },
 | 
						|
                                  "and_key_part": {
 | 
						|
                                    "key_part_value": {
 | 
						|
                                      "index_id": {
 | 
						|
                                        "table_id":1099511627778,
 | 
						|
                                        "column_id":22
 | 
						|
                                      },
 | 
						|
                                      "pos": {
 | 
						|
                                        "offset":4,
 | 
						|
                                        "column_type": {
 | 
						|
                                          "meta": {
 | 
						|
                                            "type":"BIGINT",
 | 
						|
                                            "collation":"binary",
 | 
						|
                                            "coercibility":"NUMERIC"
 | 
						|
                                          },
 | 
						|
                                          "accuracy": {
 | 
						|
                                            "length":-1,
 | 
						|
                                            "precision":20,
 | 
						|
                                            "scale":0
 | 
						|
                                          },
 | 
						|
                                          "flag":16387,
 | 
						|
                                          "calc_type": {
 | 
						|
                                            "type":"NULL",
 | 
						|
                                            "collation":"invalid_type",
 | 
						|
                                            "coercibility":"INVALID"
 | 
						|
                                          }
 | 
						|
                                        },
 | 
						|
                                        "enum_set_values": [
 | 
						|
                                        ]
 | 
						|
                                      },
 | 
						|
                                      "key_type":0,
 | 
						|
                                      "null_safe":false,
 | 
						|
                                      "start_value": {
 | 
						|
                                        "BIGINT":51951
 | 
						|
                                      },
 | 
						|
                                      "end_value": {
 | 
						|
                                        "BIGINT":51951
 | 
						|
                                      },
 | 
						|
                                      "include_start":true,
 | 
						|
                                      "include_end":true,
 | 
						|
                                      "always_true":false,
 | 
						|
                                      "always_false":false
 | 
						|
                                    }
 | 
						|
                                  }
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511627778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        23,
 | 
						|
                        26,
 | 
						|
                        25,
 | 
						|
                        27,
 | 
						|
                        29,
 | 
						|
                        30,
 | 
						|
                        31,
 | 
						|
                        32,
 | 
						|
                        33,
 | 
						|
                        34,
 | 
						|
                        17,
 | 
						|
                        18,
 | 
						|
                        19,
 | 
						|
                        20,
 | 
						|
                        21,
 | 
						|
                        22,
 | 
						|
                        16,
 | 
						|
                        24,
 | 
						|
                        28,
 | 
						|
                        35,
 | 
						|
                        36,
 | 
						|
                        37,
 | 
						|
                        38,
 | 
						|
                        39,
 | 
						|
                        40,
 | 
						|
                        41,
 | 
						|
                        42,
 | 
						|
                        43,
 | 
						|
                        44,
 | 
						|
                        45
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511627778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":3,
 | 
						|
                        "main_table_rowkey_cnt":5,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":19,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":20,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":21,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":32,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":22,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":23,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":26,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":128,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":25,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":27,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":29,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":30,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":31,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":32,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":33,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":34,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":8192,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"TIMESTAMP",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":25,
 | 
						|
                              "scale":6
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "EXT":"CURRENT_TIMESTAMP"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"TIMESTAMP",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":25,
 | 
						|
                              "scale":6
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "EXT":"CURRENT_TIMESTAMP"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":24,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":28,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":3520,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":35,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":36,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":37,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":38,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":39,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":40,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":41,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":64,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "VARCHAR":"REPLICA_STATUS_NORMAL",
 | 
						|
                              "collation":"utf8mb4_general_ci"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "VARCHAR":"REPLICA_STATUS_NORMAL",
 | 
						|
                              "collation":"utf8mb4_general_ci"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":42,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":43,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "BIGINT":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":44,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "BIGINT":-1
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "BIGINT":-1
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":45,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1024,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "VARCHAR":"",
 | 
						|
                              "collation":"utf8mb4_general_ci"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "VARCHAR":"",
 | 
						|
                              "collation":"utf8mb4_general_ci"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2,
 | 
						|
                          3,
 | 
						|
                          4,
 | 
						|
                          7,
 | 
						|
                          10,
 | 
						|
                          9,
 | 
						|
                          11,
 | 
						|
                          13,
 | 
						|
                          14,
 | 
						|
                          15,
 | 
						|
                          16,
 | 
						|
                          17,
 | 
						|
                          18,
 | 
						|
                          6,
 | 
						|
                          5,
 | 
						|
                          8,
 | 
						|
                          12,
 | 
						|
                          19,
 | 
						|
                          20,
 | 
						|
                          21,
 | 
						|
                          22,
 | 
						|
                          23,
 | 
						|
                          24,
 | 
						|
                          25,
 | 
						|
                          26,
 | 
						|
                          27,
 | 
						|
                          28,
 | 
						|
                          29
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          5,
 | 
						|
                          6,
 | 
						|
                          7,
 | 
						|
                          8,
 | 
						|
                          9,
 | 
						|
                          10,
 | 
						|
                          11,
 | 
						|
                          12,
 | 
						|
                          13,
 | 
						|
                          14,
 | 
						|
                          15,
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2,
 | 
						|
                          3,
 | 
						|
                          4,
 | 
						|
                          16,
 | 
						|
                          17,
 | 
						|
                          18,
 | 
						|
                          19,
 | 
						|
                          20,
 | 
						|
                          21,
 | 
						|
                          22,
 | 
						|
                          23,
 | 
						|
                          24,
 | 
						|
                          25,
 | 
						|
                          26,
 | 
						|
                          27,
 | 
						|
                          28,
 | 
						|
                          29
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[10] select distinct c2, c1+c2 from t1;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":4,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":3,
 | 
						|
          "type":15,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":2,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_HASH_DISTINCT": {
 | 
						|
                  "id":1,
 | 
						|
                  "type":12,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "distinct": [
 | 
						|
                     {
 | 
						|
                      "index_id":0,
 | 
						|
                      "collation_type":"binary"
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "index_id":1,
 | 
						|
                      "collation_type":"binary"
 | 
						|
                    }
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":2,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":1,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "column_index":0,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_OP_ADD",
 | 
						|
                                "expr_name":"+",
 | 
						|
                                "param_num":2,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":2,
 | 
						|
                                "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"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"INT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":16387
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"INT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":0
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        17,
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          1,
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[11] select * from t1 union select * from t2;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":3,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            2
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_MERGE_UNION": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":18,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "distinct":true,
 | 
						|
                  "collation_types": [
 | 
						|
                    "binary",
 | 
						|
                    "binary",
 | 
						|
                    "utf8mb4_general_ci"
 | 
						|
                  ],
 | 
						|
                  "set_directions_": [
 | 
						|
                    1,
 | 
						|
                    1,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "cte_pseido_column_": [
 | 
						|
                  ],
 | 
						|
                  "l_map_array_": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "r_map_array_": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":4,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        3
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":3,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":2,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "const": {
 | 
						|
                                "BIGINT":137441902614
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_FUN_SYS_CAST",
 | 
						|
                                "expr_name":"cast",
 | 
						|
                                "param_num":2,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":2,
 | 
						|
                                "result_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"VARCHAR",
 | 
						|
                                    "collation":"utf8mb4_general_ci",
 | 
						|
                                    "coercibility":"IMPLICIT"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":32,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"VARCHAR",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":0
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"BIGINT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":20,
 | 
						|
                                    "flag":1
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677778,
 | 
						|
                      "index_table_id":1099511677778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677778,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":248,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":32,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[12] select * from t1 union all select * from t2;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":3,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            2
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_MERGE_UNION": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":18,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "distinct":false,
 | 
						|
                  "collation_types": [
 | 
						|
                    "binary",
 | 
						|
                    "binary",
 | 
						|
                    "utf8mb4_general_ci"
 | 
						|
                  ],
 | 
						|
                  "set_directions_": [
 | 
						|
                  ],
 | 
						|
                  "cte_pseido_column_": [
 | 
						|
                  ],
 | 
						|
                  "l_map_array_": [
 | 
						|
                  ],
 | 
						|
                  "r_map_array_": [
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":4,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        3
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":3,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":2,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "const": {
 | 
						|
                                "BIGINT":137441902614
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_FUN_SYS_CAST",
 | 
						|
                                "expr_name":"cast",
 | 
						|
                                "param_num":2,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":2,
 | 
						|
                                "result_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"VARCHAR",
 | 
						|
                                    "collation":"utf8mb4_general_ci",
 | 
						|
                                    "coercibility":"IMPLICIT"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":32,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"VARCHAR",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":0
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"BIGINT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":20,
 | 
						|
                                    "flag":1
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677778,
 | 
						|
                      "index_table_id":1099511677778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677778,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":248,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":32,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[13] select * from t1 except select * from t2;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":3,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            2
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_MERGE_EXCEPT": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":22,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "distinct":true,
 | 
						|
                  "collation_types": [
 | 
						|
                    "binary",
 | 
						|
                    "binary",
 | 
						|
                    "utf8mb4_general_ci"
 | 
						|
                  ],
 | 
						|
                  "set_directions_": [
 | 
						|
                    1,
 | 
						|
                    1,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "cte_pseido_column_": [
 | 
						|
                  ],
 | 
						|
                  "l_map_array_": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "r_map_array_": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":4,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        3
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":3,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":2,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "const": {
 | 
						|
                                "BIGINT":137441902614
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_FUN_SYS_CAST",
 | 
						|
                                "expr_name":"cast",
 | 
						|
                                "param_num":2,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":2,
 | 
						|
                                "result_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"VARCHAR",
 | 
						|
                                    "collation":"utf8mb4_general_ci",
 | 
						|
                                    "coercibility":"IMPLICIT"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":32,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"VARCHAR",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":0
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"BIGINT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":20,
 | 
						|
                                    "flag":1
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677778,
 | 
						|
                      "index_table_id":1099511677778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677778,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":248,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":32,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[14] select * from t1 intersect select * from t2;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":3,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            2
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_MERGE_INTERSECT": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":20,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "distinct":true,
 | 
						|
                  "collation_types": [
 | 
						|
                    "binary",
 | 
						|
                    "binary",
 | 
						|
                    "utf8mb4_general_ci"
 | 
						|
                  ],
 | 
						|
                  "set_directions_": [
 | 
						|
                    1,
 | 
						|
                    1,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "cte_pseido_column_": [
 | 
						|
                  ],
 | 
						|
                  "l_map_array_": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "r_map_array_": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":4,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        3
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":3,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":2,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "const": {
 | 
						|
                                "BIGINT":137441902614
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_FUN_SYS_CAST",
 | 
						|
                                "expr_name":"cast",
 | 
						|
                                "param_num":2,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":2,
 | 
						|
                                "result_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"VARCHAR",
 | 
						|
                                    "collation":"utf8mb4_general_ci",
 | 
						|
                                    "coercibility":"IMPLICIT"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":32,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"VARCHAR",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":0
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"BIGINT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":20,
 | 
						|
                                    "flag":1
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677778,
 | 
						|
                      "index_table_id":1099511677778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677778,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":248,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":32,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[15] select /*+ frozen_version(10) */ * from t1;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":3,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":2,
 | 
						|
          "type":15,
 | 
						|
          "column_count":3,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            2
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":1,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_TABLE_SCAN": {
 | 
						|
                  "id":0,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "ref_table_id":1099511677777,
 | 
						|
                  "index_table_id":1099511677777,
 | 
						|
                  "flag":1,
 | 
						|
                  "limit": [
 | 
						|
                  ],
 | 
						|
                  "offset": [
 | 
						|
                  ],
 | 
						|
                  "for_update":false,
 | 
						|
                  "wait":-1,
 | 
						|
                  "query_range": [
 | 
						|
                     {
 | 
						|
                      "in":false,
 | 
						|
                      "is_get":false,
 | 
						|
                      "is_standard":true,
 | 
						|
                      "range_graph": {
 | 
						|
                        "key_part_value": {
 | 
						|
                          "index_id": {
 | 
						|
                            "table_id":1099511677777,
 | 
						|
                            "column_id":-1
 | 
						|
                          },
 | 
						|
                          "pos": {
 | 
						|
                            "offset":-1,
 | 
						|
                            "column_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              },
 | 
						|
                              "flag":0,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "enum_set_values": [
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "key_type":0,
 | 
						|
                          "null_safe":false,
 | 
						|
                          "start_value": {
 | 
						|
                            "EXT":"-3"
 | 
						|
                          },
 | 
						|
                          "end_value": {
 | 
						|
                            "EXT":"-2"
 | 
						|
                          },
 | 
						|
                          "include_start":false,
 | 
						|
                          "include_end":false,
 | 
						|
                          "always_true":true,
 | 
						|
                          "always_false":false
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "is_top_table_scan":true,
 | 
						|
                  "virtual_column_exprs": [
 | 
						|
                  ],
 | 
						|
                  "table_location_key":1099511677777,
 | 
						|
                  "output_column_ids": [
 | 
						|
                    16,
 | 
						|
                    17,
 | 
						|
                    18
 | 
						|
                  ],
 | 
						|
                  "table_param": {
 | 
						|
                    "table_id":1099511677777,
 | 
						|
                    "index_id":-1,
 | 
						|
                    "schema_version":247,
 | 
						|
                    "main_table_rowkey_cnt":1,
 | 
						|
                    "index_table_rowkey_cnt":0,
 | 
						|
                    "column_array": [
 | 
						|
                       {
 | 
						|
                        "column_id":16,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "column_id":17,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "column_id":18,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ],
 | 
						|
                    "projector": [
 | 
						|
                      0,
 | 
						|
                      1,
 | 
						|
                      2
 | 
						|
                    ],
 | 
						|
                    "output_projector": [
 | 
						|
                      0,
 | 
						|
                      1,
 | 
						|
                      2
 | 
						|
                    ],
 | 
						|
                    "index_column_array":null,
 | 
						|
                    "index_projector": [
 | 
						|
                    ],
 | 
						|
                    "index_output_projector": [
 | 
						|
                    ],
 | 
						|
                    "index_back_projector": [
 | 
						|
                    ],
 | 
						|
                    "pad_col_projector": [
 | 
						|
                    ]
 | 
						|
                  },
 | 
						|
                  "is_index_global":false,
 | 
						|
                  "hint": {
 | 
						|
                    "max_parallel_count":32,
 | 
						|
                    "enable_parallel":true,
 | 
						|
                    "timeout":30000000,
 | 
						|
                    "frozen_version":"10-0-0",
 | 
						|
                    "consistency_level":"FROZEN"
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[16] select * from t1 where exists(select c1 from t2 limit 0);
 | 
						|
{
 | 
						|
  "param_num":1,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":3,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            2
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SUBPLAN_FILTER": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":33,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                     [
 | 
						|
                       {
 | 
						|
                        "param":0,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "rescan_param": [
 | 
						|
                  ],
 | 
						|
                  "onetime_filter": [
 | 
						|
                     {
 | 
						|
                      "index":0,
 | 
						|
                      "expression": [
 | 
						|
                         {
 | 
						|
                          "op": {
 | 
						|
                            "expr_type":"T_REF_QUERY",
 | 
						|
                            "expr_name":"ref_query",
 | 
						|
                            "param_num":0,
 | 
						|
                            "dimension":-1,
 | 
						|
                            "real_param_num":0,
 | 
						|
                            "scalar_result_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              },
 | 
						|
                              "flag":0,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "result_is_scalar":false,
 | 
						|
                            "subquery_idx":0
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "op": {
 | 
						|
                            "expr_type":"T_OP_EXISTS",
 | 
						|
                            "real_param_num":1,
 | 
						|
                            "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"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "subquery_key":0,
 | 
						|
                            "left_is_iter":false,
 | 
						|
                            "right_is_iter":false
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "init_plan_idxs": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "one_time_idxs": [
 | 
						|
                    2
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":2,
 | 
						|
                      "projector": [
 | 
						|
                        1
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":1,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "const": {
 | 
						|
                                "BIGINT":1
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677778,
 | 
						|
                      "index_table_id":1099511677778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "BIGINT":0
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":1,
 | 
						|
                            "precision":1,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677778,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":248,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[17] select * from t1 where c1>(select c1 from t2 limit 1);
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":3,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            2
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SUBPLAN_FILTER": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":33,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                     [
 | 
						|
                       {
 | 
						|
                        "column_index":0,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_REF_QUERY",
 | 
						|
                          "expr_name":"ref_query",
 | 
						|
                          "param_num":0,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":0,
 | 
						|
                          "scalar_result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":16387,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"NULL",
 | 
						|
                              "collation":"invalid_type",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "result_is_scalar":true,
 | 
						|
                          "subquery_idx":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_OP_GT",
 | 
						|
                          "expr_name":">",
 | 
						|
                          "param_num":2,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":2,
 | 
						|
                          "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"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "input_type": [
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":11,
 | 
						|
                              "flag":16387
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":11,
 | 
						|
                              "flag":16387
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "rescan_param": [
 | 
						|
                  ],
 | 
						|
                  "onetime_filter": [
 | 
						|
                  ],
 | 
						|
                  "init_plan_idxs": [
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "one_time_idxs": [
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677778,
 | 
						|
                      "index_table_id":1099511677778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "BIGINT":1
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":1,
 | 
						|
                            "precision":1,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677778,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":248,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[18] select * from (select c1, c2 from t1 limit 1) t;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":4,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":3,
 | 
						|
          "type":15,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":2,
 | 
						|
              "type":14,
 | 
						|
              "column_count":2,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SUBPLAN_SCAN": {
 | 
						|
                  "id":1,
 | 
						|
                  "type":32,
 | 
						|
                  "column_count":2,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "output_indexs": [
 | 
						|
                    0,
 | 
						|
                    1
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":2,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "BIGINT":1
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":1,
 | 
						|
                            "precision":1,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[19] select max(a) from test where a < (select max(a) from test);
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677779,
 | 
						|
      "schema_version":249,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":10,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":9,
 | 
						|
          "type":15,
 | 
						|
          "column_count":1,
 | 
						|
          "projector": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":8,
 | 
						|
              "type":14,
 | 
						|
              "column_count":2,
 | 
						|
              "projector": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SCALAR_AGGREGATE": {
 | 
						|
                  "id":7,
 | 
						|
                  "type":10,
 | 
						|
                  "column_count":2,
 | 
						|
                  "projector": [
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "aggr_col": [
 | 
						|
                     {
 | 
						|
                      "result_index":1,
 | 
						|
                      "aggr_func":"MAX",
 | 
						|
                      "distinct":false,
 | 
						|
                      "post_expr": [
 | 
						|
                         {
 | 
						|
                          "column_index":0,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":6,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "mem_limit":0
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_SUBPLAN_SCAN": {
 | 
						|
                      "id":6,
 | 
						|
                      "type":32,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "output_indexs": [
 | 
						|
                        0
 | 
						|
                      ]
 | 
						|
                    },
 | 
						|
                    "child_operators": [
 | 
						|
                       {
 | 
						|
                        "PHY_LIMIT": {
 | 
						|
                          "id":5,
 | 
						|
                          "type":1,
 | 
						|
                          "column_count":1,
 | 
						|
                          "projector": [
 | 
						|
                            0
 | 
						|
                          ],
 | 
						|
                          "filter_exprs": [
 | 
						|
                          ],
 | 
						|
                          "calc_exprs": [
 | 
						|
                          ],
 | 
						|
                          "limit": [
 | 
						|
                             {
 | 
						|
                              "const": {
 | 
						|
                                "BIGINT":1
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":1,
 | 
						|
                                "precision":1,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        },
 | 
						|
                        "child_operators": [
 | 
						|
                           {
 | 
						|
                            "PHY_SUBPLAN_FILTER": {
 | 
						|
                              "id":4,
 | 
						|
                              "type":33,
 | 
						|
                              "column_count":1,
 | 
						|
                              "projector": [
 | 
						|
                                0
 | 
						|
                              ],
 | 
						|
                              "filter_exprs": [
 | 
						|
                                 [
 | 
						|
                                   {
 | 
						|
                                    "column_index":0,
 | 
						|
                                    "accuracy": {
 | 
						|
                                      "length":-1,
 | 
						|
                                      "precision":6,
 | 
						|
                                      "scale":0
 | 
						|
                                    }
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "op": {
 | 
						|
                                      "expr_type":"T_REF_QUERY",
 | 
						|
                                      "expr_name":"ref_query",
 | 
						|
                                      "param_num":0,
 | 
						|
                                      "dimension":-1,
 | 
						|
                                      "real_param_num":0,
 | 
						|
                                      "scalar_result_type": {
 | 
						|
                                        "meta": {
 | 
						|
                                          "type":"SMALLINT",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        },
 | 
						|
                                        "accuracy": {
 | 
						|
                                          "length":-1,
 | 
						|
                                          "precision":6,
 | 
						|
                                          "scale":0
 | 
						|
                                        },
 | 
						|
                                        "flag":16387,
 | 
						|
                                        "calc_type": {
 | 
						|
                                          "type":"NULL",
 | 
						|
                                          "collation":"invalid_type",
 | 
						|
                                          "coercibility":"INVALID"
 | 
						|
                                        }
 | 
						|
                                      },
 | 
						|
                                      "result_is_scalar":true,
 | 
						|
                                      "subquery_idx":0
 | 
						|
                                    }
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "op": {
 | 
						|
                                      "expr_type":"T_OP_LT",
 | 
						|
                                      "expr_name":"<",
 | 
						|
                                      "param_num":2,
 | 
						|
                                      "dimension":-1,
 | 
						|
                                      "real_param_num":2,
 | 
						|
                                      "result_type": {
 | 
						|
                                        "meta": {
 | 
						|
                                          "type":"INT",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        },
 | 
						|
                                        "accuracy": {
 | 
						|
                                          "length":-1,
 | 
						|
                                          "precision":1,
 | 
						|
                                          "scale":0
 | 
						|
                                        },
 | 
						|
                                        "flag":1,
 | 
						|
                                        "calc_type": {
 | 
						|
                                          "type":"SMALLINT",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        }
 | 
						|
                                      },
 | 
						|
                                      "input_type": [
 | 
						|
                                         {
 | 
						|
                                          "calc_meta": {
 | 
						|
                                            "type":"SMALLINT",
 | 
						|
                                            "collation":"binary",
 | 
						|
                                            "coercibility":"NUMERIC"
 | 
						|
                                          },
 | 
						|
                                          "length":6,
 | 
						|
                                          "flag":16387
 | 
						|
                                        },
 | 
						|
                                         {
 | 
						|
                                          "calc_meta": {
 | 
						|
                                            "type":"SMALLINT",
 | 
						|
                                            "collation":"binary",
 | 
						|
                                            "coercibility":"NUMERIC"
 | 
						|
                                          },
 | 
						|
                                          "length":6,
 | 
						|
                                          "flag":16387
 | 
						|
                                        }
 | 
						|
                                      ]
 | 
						|
                                    }
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              ],
 | 
						|
                              "calc_exprs": [
 | 
						|
                              ],
 | 
						|
                              "rescan_param": [
 | 
						|
                              ],
 | 
						|
                              "onetime_filter": [
 | 
						|
                              ],
 | 
						|
                              "init_plan_idxs": [
 | 
						|
                                2
 | 
						|
                              ],
 | 
						|
                              "one_time_idxs": [
 | 
						|
                              ]
 | 
						|
                            },
 | 
						|
                            "child_operators": [
 | 
						|
                               {
 | 
						|
                                "PHY_TABLE_SCAN": {
 | 
						|
                                  "id":0,
 | 
						|
                                  "column_count":1,
 | 
						|
                                  "projector": [
 | 
						|
                                    0
 | 
						|
                                  ],
 | 
						|
                                  "filter_exprs": [
 | 
						|
                                  ],
 | 
						|
                                  "calc_exprs": [
 | 
						|
                                  ],
 | 
						|
                                  "ref_table_id":1099511677779,
 | 
						|
                                  "index_table_id":1099511677779,
 | 
						|
                                  "flag":2,
 | 
						|
                                  "limit": [
 | 
						|
                                  ],
 | 
						|
                                  "offset": [
 | 
						|
                                  ],
 | 
						|
                                  "for_update":false,
 | 
						|
                                  "wait":-1,
 | 
						|
                                  "query_range": [
 | 
						|
                                     {
 | 
						|
                                      "in":false,
 | 
						|
                                      "is_get":false,
 | 
						|
                                      "is_standard":true,
 | 
						|
                                      "range_graph": {
 | 
						|
                                        "key_part_value": {
 | 
						|
                                          "index_id": {
 | 
						|
                                            "table_id":1099511677779,
 | 
						|
                                            "column_id":-1
 | 
						|
                                          },
 | 
						|
                                          "pos": {
 | 
						|
                                            "offset":-1,
 | 
						|
                                            "column_type": {
 | 
						|
                                              "meta": {
 | 
						|
                                                "type":"NULL",
 | 
						|
                                                "collation":"invalid_type",
 | 
						|
                                                "coercibility":"INVALID"
 | 
						|
                                              },
 | 
						|
                                              "accuracy": {
 | 
						|
                                                "length":-1,
 | 
						|
                                                "precision":-1,
 | 
						|
                                                "scale":-1
 | 
						|
                                              },
 | 
						|
                                              "flag":0,
 | 
						|
                                              "calc_type": {
 | 
						|
                                                "type":"NULL",
 | 
						|
                                                "collation":"invalid_type",
 | 
						|
                                                "coercibility":"INVALID"
 | 
						|
                                              }
 | 
						|
                                            },
 | 
						|
                                            "enum_set_values": [
 | 
						|
                                            ]
 | 
						|
                                          },
 | 
						|
                                          "key_type":0,
 | 
						|
                                          "null_safe":false,
 | 
						|
                                          "start_value": {
 | 
						|
                                            "EXT":"-3"
 | 
						|
                                          },
 | 
						|
                                          "end_value": {
 | 
						|
                                            "EXT":"-2"
 | 
						|
                                          },
 | 
						|
                                          "include_start":false,
 | 
						|
                                          "include_end":false,
 | 
						|
                                          "always_true":true,
 | 
						|
                                          "always_false":false
 | 
						|
                                        }
 | 
						|
                                      }
 | 
						|
                                    }
 | 
						|
                                  ],
 | 
						|
                                  "is_top_table_scan":false,
 | 
						|
                                  "virtual_column_exprs": [
 | 
						|
                                  ],
 | 
						|
                                  "table_location_key":1099511677779,
 | 
						|
                                  "output_column_ids": [
 | 
						|
                                    16
 | 
						|
                                  ],
 | 
						|
                                  "table_param": {
 | 
						|
                                    "table_id":1099511677779,
 | 
						|
                                    "index_id":-1,
 | 
						|
                                    "schema_version":249,
 | 
						|
                                    "main_table_rowkey_cnt":1,
 | 
						|
                                    "index_table_rowkey_cnt":0,
 | 
						|
                                    "column_array": [
 | 
						|
                                       {
 | 
						|
                                        "column_id":16,
 | 
						|
                                        "meta_type": {
 | 
						|
                                          "type":"SMALLINT",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        },
 | 
						|
                                        "accuracy": {
 | 
						|
                                          "length":-1,
 | 
						|
                                          "precision":6,
 | 
						|
                                          "scale":0
 | 
						|
                                        },
 | 
						|
                                        "orig_default_value": {
 | 
						|
                                          "NULL":"NULL"
 | 
						|
                                        },
 | 
						|
                                        "cur_default_value": {
 | 
						|
                                          "NULL":"NULL"
 | 
						|
                                        }
 | 
						|
                                      }
 | 
						|
                                    ],
 | 
						|
                                    "projector": [
 | 
						|
                                      0
 | 
						|
                                    ],
 | 
						|
                                    "output_projector": [
 | 
						|
                                      0
 | 
						|
                                    ],
 | 
						|
                                    "index_column_array":null,
 | 
						|
                                    "index_projector": [
 | 
						|
                                    ],
 | 
						|
                                    "index_output_projector": [
 | 
						|
                                    ],
 | 
						|
                                    "index_back_projector": [
 | 
						|
                                    ],
 | 
						|
                                    "pad_col_projector": [
 | 
						|
                                    ]
 | 
						|
                                  },
 | 
						|
                                  "is_index_global":false
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "PHY_SCALAR_AGGREGATE": {
 | 
						|
                                  "id":3,
 | 
						|
                                  "type":10,
 | 
						|
                                  "column_count":2,
 | 
						|
                                  "projector": [
 | 
						|
                                    1
 | 
						|
                                  ],
 | 
						|
                                  "filter_exprs": [
 | 
						|
                                  ],
 | 
						|
                                  "calc_exprs": [
 | 
						|
                                  ],
 | 
						|
                                  "aggr_col": [
 | 
						|
                                     {
 | 
						|
                                      "result_index":1,
 | 
						|
                                      "aggr_func":"MAX",
 | 
						|
                                      "distinct":false,
 | 
						|
                                      "post_expr": [
 | 
						|
                                         {
 | 
						|
                                          "column_index":0,
 | 
						|
                                          "accuracy": {
 | 
						|
                                            "length":-1,
 | 
						|
                                            "precision":6,
 | 
						|
                                            "scale":0
 | 
						|
                                          }
 | 
						|
                                        }
 | 
						|
                                      ]
 | 
						|
                                    }
 | 
						|
                                  ],
 | 
						|
                                  "mem_limit":0
 | 
						|
                                },
 | 
						|
                                "child_operators": [
 | 
						|
                                   {
 | 
						|
                                    "PHY_SUBPLAN_SCAN": {
 | 
						|
                                      "id":2,
 | 
						|
                                      "type":32,
 | 
						|
                                      "column_count":1,
 | 
						|
                                      "projector": [
 | 
						|
                                        0
 | 
						|
                                      ],
 | 
						|
                                      "filter_exprs": [
 | 
						|
                                      ],
 | 
						|
                                      "calc_exprs": [
 | 
						|
                                      ],
 | 
						|
                                      "output_indexs": [
 | 
						|
                                        0
 | 
						|
                                      ]
 | 
						|
                                    },
 | 
						|
                                    "child_operators": [
 | 
						|
                                       {
 | 
						|
                                        "PHY_TABLE_SCAN": {
 | 
						|
                                          "id":1,
 | 
						|
                                          "column_count":1,
 | 
						|
                                          "projector": [
 | 
						|
                                            0
 | 
						|
                                          ],
 | 
						|
                                          "filter_exprs": [
 | 
						|
                                          ],
 | 
						|
                                          "calc_exprs": [
 | 
						|
                                          ],
 | 
						|
                                          "ref_table_id":1099511677779,
 | 
						|
                                          "index_table_id":1099511677779,
 | 
						|
                                          "flag":2,
 | 
						|
                                          "limit": [
 | 
						|
                                             {
 | 
						|
                                              "const": {
 | 
						|
                                                "BIGINT":1
 | 
						|
                                              },
 | 
						|
                                              "accuracy": {
 | 
						|
                                                "length":1,
 | 
						|
                                                "precision":1,
 | 
						|
                                                "scale":0
 | 
						|
                                              }
 | 
						|
                                            }
 | 
						|
                                          ],
 | 
						|
                                          "offset": [
 | 
						|
                                          ],
 | 
						|
                                          "for_update":false,
 | 
						|
                                          "wait":-1,
 | 
						|
                                          "query_range": [
 | 
						|
                                             {
 | 
						|
                                              "in":false,
 | 
						|
                                              "is_get":false,
 | 
						|
                                              "is_standard":true,
 | 
						|
                                              "range_graph": {
 | 
						|
                                                "key_part_value": {
 | 
						|
                                                  "index_id": {
 | 
						|
                                                    "table_id":-2,
 | 
						|
                                                    "column_id":-1
 | 
						|
                                                  },
 | 
						|
                                                  "pos": {
 | 
						|
                                                    "offset":-1,
 | 
						|
                                                    "column_type": {
 | 
						|
                                                      "meta": {
 | 
						|
                                                        "type":"NULL",
 | 
						|
                                                        "collation":"invalid_type",
 | 
						|
                                                        "coercibility":"INVALID"
 | 
						|
                                                      },
 | 
						|
                                                      "accuracy": {
 | 
						|
                                                        "length":-1,
 | 
						|
                                                        "precision":-1,
 | 
						|
                                                        "scale":-1
 | 
						|
                                                      },
 | 
						|
                                                      "flag":0,
 | 
						|
                                                      "calc_type": {
 | 
						|
                                                        "type":"NULL",
 | 
						|
                                                        "collation":"invalid_type",
 | 
						|
                                                        "coercibility":"INVALID"
 | 
						|
                                                      }
 | 
						|
                                                    },
 | 
						|
                                                    "enum_set_values": [
 | 
						|
                                                    ]
 | 
						|
                                                  },
 | 
						|
                                                  "key_type":0,
 | 
						|
                                                  "null_safe":false,
 | 
						|
                                                  "start_value": {
 | 
						|
                                                    "EXT":"-3"
 | 
						|
                                                  },
 | 
						|
                                                  "end_value": {
 | 
						|
                                                    "EXT":"-2"
 | 
						|
                                                  },
 | 
						|
                                                  "include_start":false,
 | 
						|
                                                  "include_end":false,
 | 
						|
                                                  "always_true":true,
 | 
						|
                                                  "always_false":false
 | 
						|
                                                }
 | 
						|
                                              }
 | 
						|
                                            }
 | 
						|
                                          ],
 | 
						|
                                          "is_top_table_scan":false,
 | 
						|
                                          "virtual_column_exprs": [
 | 
						|
                                          ],
 | 
						|
                                          "table_location_key":-2,
 | 
						|
                                          "output_column_ids": [
 | 
						|
                                            16
 | 
						|
                                          ],
 | 
						|
                                          "table_param": {
 | 
						|
                                            "table_id":1099511677779,
 | 
						|
                                            "index_id":-1,
 | 
						|
                                            "schema_version":249,
 | 
						|
                                            "main_table_rowkey_cnt":1,
 | 
						|
                                            "index_table_rowkey_cnt":0,
 | 
						|
                                            "column_array": [
 | 
						|
                                               {
 | 
						|
                                                "column_id":16,
 | 
						|
                                                "meta_type": {
 | 
						|
                                                  "type":"SMALLINT",
 | 
						|
                                                  "collation":"binary",
 | 
						|
                                                  "coercibility":"NUMERIC"
 | 
						|
                                                },
 | 
						|
                                                "accuracy": {
 | 
						|
                                                  "length":-1,
 | 
						|
                                                  "precision":6,
 | 
						|
                                                  "scale":0
 | 
						|
                                                },
 | 
						|
                                                "orig_default_value": {
 | 
						|
                                                  "NULL":"NULL"
 | 
						|
                                                },
 | 
						|
                                                "cur_default_value": {
 | 
						|
                                                  "NULL":"NULL"
 | 
						|
                                                }
 | 
						|
                                              }
 | 
						|
                                            ],
 | 
						|
                                            "projector": [
 | 
						|
                                              0
 | 
						|
                                            ],
 | 
						|
                                            "output_projector": [
 | 
						|
                                              0
 | 
						|
                                            ],
 | 
						|
                                            "index_column_array":null,
 | 
						|
                                            "index_projector": [
 | 
						|
                                            ],
 | 
						|
                                            "index_output_projector": [
 | 
						|
                                            ],
 | 
						|
                                            "index_back_projector": [
 | 
						|
                                            ],
 | 
						|
                                            "pad_col_projector": [
 | 
						|
                                            ]
 | 
						|
                                          },
 | 
						|
                                          "is_index_global":false
 | 
						|
                                        }
 | 
						|
                                      }
 | 
						|
                                    ]
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            ]
 | 
						|
                          }
 | 
						|
                        ]
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[20] select * from test where b = trim(' abc ') and b = trim(' xyz ');
 | 
						|
{
 | 
						|
  "param_num":2,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677779,
 | 
						|
      "schema_version":249,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":3,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":2,
 | 
						|
          "type":15,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            1,
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":1,
 | 
						|
              "type":14,
 | 
						|
              "column_count":2,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_TABLE_SCAN": {
 | 
						|
                  "id":0,
 | 
						|
                  "column_count":2,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                     [
 | 
						|
                       {
 | 
						|
                        "column_index":0,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":10,
 | 
						|
                          "precision":-1,
 | 
						|
                          "scale":-1
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "param":0,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":5,
 | 
						|
                          "precision":-1,
 | 
						|
                          "scale":-1
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_OP_EQ",
 | 
						|
                          "expr_name":"=",
 | 
						|
                          "param_num":2,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":2,
 | 
						|
                          "result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":0,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"IMPLICIT"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "input_type": [
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"CHAR",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              },
 | 
						|
                              "length":10,
 | 
						|
                              "flag":0
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"VARCHAR",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              },
 | 
						|
                              "length":5,
 | 
						|
                              "flag":0
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ],
 | 
						|
                     [
 | 
						|
                       {
 | 
						|
                        "column_index":0,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":10,
 | 
						|
                          "precision":-1,
 | 
						|
                          "scale":-1
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "param":1,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":5,
 | 
						|
                          "precision":-1,
 | 
						|
                          "scale":-1
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_OP_EQ",
 | 
						|
                          "expr_name":"=",
 | 
						|
                          "param_num":2,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":2,
 | 
						|
                          "result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":0,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"utf8mb4_general_ci",
 | 
						|
                              "coercibility":"IMPLICIT"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "input_type": [
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"CHAR",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              },
 | 
						|
                              "length":10,
 | 
						|
                              "flag":0
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"VARCHAR",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              },
 | 
						|
                              "length":5,
 | 
						|
                              "flag":0
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "ref_table_id":1099511677779,
 | 
						|
                  "index_table_id":1099511677779,
 | 
						|
                  "flag":1,
 | 
						|
                  "limit": [
 | 
						|
                  ],
 | 
						|
                  "offset": [
 | 
						|
                  ],
 | 
						|
                  "for_update":false,
 | 
						|
                  "wait":-1,
 | 
						|
                  "query_range": [
 | 
						|
                     {
 | 
						|
                      "in":false,
 | 
						|
                      "is_get":false,
 | 
						|
                      "is_standard":true,
 | 
						|
                      "range_graph": {
 | 
						|
                        "key_part_value": {
 | 
						|
                          "index_id": {
 | 
						|
                            "table_id":1099511677779,
 | 
						|
                            "column_id":-1
 | 
						|
                          },
 | 
						|
                          "pos": {
 | 
						|
                            "offset":-1,
 | 
						|
                            "column_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              },
 | 
						|
                              "flag":0,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "enum_set_values": [
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "key_type":0,
 | 
						|
                          "null_safe":false,
 | 
						|
                          "start_value": {
 | 
						|
                            "EXT":"-3"
 | 
						|
                          },
 | 
						|
                          "end_value": {
 | 
						|
                            "EXT":"-2"
 | 
						|
                          },
 | 
						|
                          "include_start":false,
 | 
						|
                          "include_end":false,
 | 
						|
                          "always_true":true,
 | 
						|
                          "always_false":false
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "is_top_table_scan":true,
 | 
						|
                  "virtual_column_exprs": [
 | 
						|
                  ],
 | 
						|
                  "table_location_key":1099511677779,
 | 
						|
                  "output_column_ids": [
 | 
						|
                    17,
 | 
						|
                    16
 | 
						|
                  ],
 | 
						|
                  "table_param": {
 | 
						|
                    "table_id":1099511677779,
 | 
						|
                    "index_id":-1,
 | 
						|
                    "schema_version":249,
 | 
						|
                    "main_table_rowkey_cnt":1,
 | 
						|
                    "index_table_rowkey_cnt":0,
 | 
						|
                    "column_array": [
 | 
						|
                       {
 | 
						|
                        "column_id":16,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"SMALLINT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":6,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "column_id":17,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"CHAR",
 | 
						|
                          "collation":"utf8mb4_general_ci",
 | 
						|
                          "coercibility":"INVALID"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":10,
 | 
						|
                          "precision":-1,
 | 
						|
                          "scale":-1
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ],
 | 
						|
                    "projector": [
 | 
						|
                      0,
 | 
						|
                      1
 | 
						|
                    ],
 | 
						|
                    "output_projector": [
 | 
						|
                      1,
 | 
						|
                      0
 | 
						|
                    ],
 | 
						|
                    "index_column_array":null,
 | 
						|
                    "index_projector": [
 | 
						|
                    ],
 | 
						|
                    "index_output_projector": [
 | 
						|
                    ],
 | 
						|
                    "index_back_projector": [
 | 
						|
                    ],
 | 
						|
                    "pad_col_projector": [
 | 
						|
                      0
 | 
						|
                    ]
 | 
						|
                  },
 | 
						|
                  "is_index_global":false
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[21] (select a, b, c+1 from t3) union (select a, b, c+1 from t3);
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677781,
 | 
						|
      "schema_version":251,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":3,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            2
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_HASH_UNION": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":19,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "distinct":true,
 | 
						|
                  "collation_types": [
 | 
						|
                    "binary",
 | 
						|
                    "binary",
 | 
						|
                    "binary"
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":4,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        3
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":3,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":2,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "const": {
 | 
						|
                                "BIGINT":1
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":1,
 | 
						|
                                "precision":1,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_OP_ADD",
 | 
						|
                                "expr_name":"+",
 | 
						|
                                "param_num":2,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":2,
 | 
						|
                                "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"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"INT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":16387
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"BIGINT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":1,
 | 
						|
                                    "flag":1
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677781,
 | 
						|
                      "index_table_id":1099511677781,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677781,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677781,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677781,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":251,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"TIMESTAMP",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":19,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          1,
 | 
						|
                          2,
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":4,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        3
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":3,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":2,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "const": {
 | 
						|
                                "BIGINT":1
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":1,
 | 
						|
                                "precision":1,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_OP_ADD",
 | 
						|
                                "expr_name":"+",
 | 
						|
                                "param_num":2,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":2,
 | 
						|
                                "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"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"INT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":16387
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"BIGINT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":1,
 | 
						|
                                    "flag":1
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677781,
 | 
						|
                      "index_table_id":1099511677781,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":-2,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":-2,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17,
 | 
						|
                        18
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677781,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":251,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":18,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"TIMESTAMP",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":19,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1,
 | 
						|
                          2
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          1,
 | 
						|
                          2,
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[22] insert into t1 values(1,2,3),(2,3,4) on duplicate key update c2=values(c1) + values(c2);
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":4,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":3,
 | 
						|
          "type":15,
 | 
						|
          "column_count":0,
 | 
						|
          "projector":null,
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":2,
 | 
						|
              "type":14,
 | 
						|
              "column_count":6,
 | 
						|
              "projector":null,
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_INSERT_ON_DUP": {
 | 
						|
                  "id":1,
 | 
						|
                  "type":28,
 | 
						|
                  "column_count":6,
 | 
						|
                  "projector": [
 | 
						|
                    3,
 | 
						|
                    4,
 | 
						|
                    5
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                     {
 | 
						|
                      "result_index":3,
 | 
						|
                      "post_expr": [
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "INT":4
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "INT":63
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "BIGINT":51539607551
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "TINYINT":0
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "column_index":0,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":11,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "op": {
 | 
						|
                            "expr_type":"T_FUN_COLUMN_CONV",
 | 
						|
                            "expr_name":"column_conv",
 | 
						|
                            "param_num":5,
 | 
						|
                            "dimension":-1,
 | 
						|
                            "real_param_num":5,
 | 
						|
                            "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"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "input_type": [
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":11,
 | 
						|
                                "flag":0
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"IGNORABLE"
 | 
						|
                                },
 | 
						|
                                "length":0,
 | 
						|
                                "flag":0
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"IGNORABLE"
 | 
						|
                                },
 | 
						|
                                "length":0,
 | 
						|
                                "flag":0
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"IGNORABLE"
 | 
						|
                                },
 | 
						|
                                "length":0,
 | 
						|
                                "flag":1
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":11,
 | 
						|
                                "flag":16515
 | 
						|
                              }
 | 
						|
                            ]
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "result_index":4,
 | 
						|
                      "post_expr": [
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "INT":4
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "INT":63
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "BIGINT":51539607551
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "TINYINT":1
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "column_index":1,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":11,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "op": {
 | 
						|
                            "expr_type":"T_FUN_COLUMN_CONV",
 | 
						|
                            "expr_name":"column_conv",
 | 
						|
                            "param_num":5,
 | 
						|
                            "dimension":-1,
 | 
						|
                            "real_param_num":5,
 | 
						|
                            "result_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"IMPLICIT"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              },
 | 
						|
                              "flag":0,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "input_type": [
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":11,
 | 
						|
                                "flag":0
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"IGNORABLE"
 | 
						|
                                },
 | 
						|
                                "length":0,
 | 
						|
                                "flag":0
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"IGNORABLE"
 | 
						|
                                },
 | 
						|
                                "length":0,
 | 
						|
                                "flag":0
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"IGNORABLE"
 | 
						|
                                },
 | 
						|
                                "length":0,
 | 
						|
                                "flag":0
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":11,
 | 
						|
                                "flag":128
 | 
						|
                              }
 | 
						|
                            ]
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "result_index":5,
 | 
						|
                      "post_expr": [
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "INT":4
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "INT":63
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "BIGINT":51539607551
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "TINYINT":1
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "column_index":2,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":11,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "op": {
 | 
						|
                            "expr_type":"T_FUN_COLUMN_CONV",
 | 
						|
                            "expr_name":"column_conv",
 | 
						|
                            "param_num":5,
 | 
						|
                            "dimension":-1,
 | 
						|
                            "real_param_num":5,
 | 
						|
                            "result_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"IMPLICIT"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              },
 | 
						|
                              "flag":0,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "input_type": [
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":11,
 | 
						|
                                "flag":0
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"IGNORABLE"
 | 
						|
                                },
 | 
						|
                                "length":0,
 | 
						|
                                "flag":0
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"IGNORABLE"
 | 
						|
                                },
 | 
						|
                                "length":0,
 | 
						|
                                "flag":0
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"IGNORABLE"
 | 
						|
                                },
 | 
						|
                                "length":0,
 | 
						|
                                "flag":0
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":11,
 | 
						|
                                "flag":128
 | 
						|
                              }
 | 
						|
                            ]
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677777,
 | 
						|
                  "column_id": [
 | 
						|
                    16,
 | 
						|
                    17,
 | 
						|
                    18
 | 
						|
                  ],
 | 
						|
                  "old_projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "new_projector": [
 | 
						|
                    0,
 | 
						|
                    3,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "projector": [
 | 
						|
                    3,
 | 
						|
                    4,
 | 
						|
                    5
 | 
						|
                  ],
 | 
						|
                  "refered_ids": [
 | 
						|
                    16,
 | 
						|
                    17,
 | 
						|
                    18
 | 
						|
                  ],
 | 
						|
                  "column_id_for_update": [
 | 
						|
                    16,
 | 
						|
                    17,
 | 
						|
                    18
 | 
						|
                  ],
 | 
						|
                  "primary_key_ids": [
 | 
						|
                    16
 | 
						|
                  ],
 | 
						|
                  "updated_column_id": [
 | 
						|
                    17
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_EXPR_VALUES": {
 | 
						|
                      "id":0,
 | 
						|
                      "type":30,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "values": [
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":1
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":2
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":3
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":2
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":3
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT":4
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ]
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[23] insert into tt1 values(),();
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677786,
 | 
						|
      "schema_version":256,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":4,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":3,
 | 
						|
          "type":15,
 | 
						|
          "column_count":0,
 | 
						|
          "projector":null,
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":2,
 | 
						|
              "type":14,
 | 
						|
              "column_count":4,
 | 
						|
              "projector":null,
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_INSERT": {
 | 
						|
                  "id":1,
 | 
						|
                  "type":24,
 | 
						|
                  "column_count":4,
 | 
						|
                  "projector": [
 | 
						|
                    3,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                     {
 | 
						|
                      "result_index":3,
 | 
						|
                      "post_expr": [
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "BIGINT UNSIGNED":16
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "column_index":0,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":11,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "op": {
 | 
						|
                            "expr_type":"T_FUN_SYS_NEXTVAL",
 | 
						|
                            "expr_name":"nextval",
 | 
						|
                            "param_num":-6,
 | 
						|
                            "dimension":-1,
 | 
						|
                            "real_param_num":2,
 | 
						|
                            "result_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"BIGINT UNSIGNED",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":20,
 | 
						|
                                "scale":0
 | 
						|
                              },
 | 
						|
                              "flag":1,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "input_type": [
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"BIGINT UNSIGNED",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":20,
 | 
						|
                                "flag":1
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":11,
 | 
						|
                                "flag":17027
 | 
						|
                              }
 | 
						|
                            ]
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677786,
 | 
						|
                  "column_id": [
 | 
						|
                    16,
 | 
						|
                    17,
 | 
						|
                    18
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_EXPR_VALUES": {
 | 
						|
                      "id":0,
 | 
						|
                      "type":30,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "values": [
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT UNSIGNED":16
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "op": {
 | 
						|
                              "expr_type":"T_FUN_SYS_NEXTVAL",
 | 
						|
                              "expr_name":"nextval",
 | 
						|
                              "param_num":-6,
 | 
						|
                              "dimension":-1,
 | 
						|
                              "real_param_num":1,
 | 
						|
                              "result_type": {
 | 
						|
                                "meta": {
 | 
						|
                                  "type":"BIGINT UNSIGNED",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":20,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "flag":1,
 | 
						|
                                "calc_type": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"invalid_type",
 | 
						|
                                  "coercibility":"INVALID"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                              "input_type": [
 | 
						|
                                 {
 | 
						|
                                  "calc_meta": {
 | 
						|
                                    "type":"BIGINT UNSIGNED",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "length":20,
 | 
						|
                                  "flag":1
 | 
						|
                                }
 | 
						|
                              ]
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT UNSIGNED":16
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "op": {
 | 
						|
                              "expr_type":"T_FUN_SYS_NEXTVAL",
 | 
						|
                              "expr_name":"nextval",
 | 
						|
                              "param_num":-6,
 | 
						|
                              "dimension":-1,
 | 
						|
                              "real_param_num":1,
 | 
						|
                              "result_type": {
 | 
						|
                                "meta": {
 | 
						|
                                  "type":"BIGINT UNSIGNED",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":20,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "flag":1,
 | 
						|
                                "calc_type": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"invalid_type",
 | 
						|
                                  "coercibility":"INVALID"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                              "input_type": [
 | 
						|
                                 {
 | 
						|
                                  "calc_meta": {
 | 
						|
                                    "type":"BIGINT UNSIGNED",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "length":20,
 | 
						|
                                  "flag":1
 | 
						|
                                }
 | 
						|
                              ]
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ]
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[24] insert into tt1() values(),();
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677786,
 | 
						|
      "schema_version":256,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":4,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":3,
 | 
						|
          "type":15,
 | 
						|
          "column_count":0,
 | 
						|
          "projector":null,
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":2,
 | 
						|
              "type":14,
 | 
						|
              "column_count":4,
 | 
						|
              "projector":null,
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_INSERT": {
 | 
						|
                  "id":1,
 | 
						|
                  "type":24,
 | 
						|
                  "column_count":4,
 | 
						|
                  "projector": [
 | 
						|
                    3,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                     {
 | 
						|
                      "result_index":3,
 | 
						|
                      "post_expr": [
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "BIGINT UNSIGNED":16
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":-1,
 | 
						|
                            "scale":-1
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "column_index":0,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":11,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "op": {
 | 
						|
                            "expr_type":"T_FUN_SYS_NEXTVAL",
 | 
						|
                            "expr_name":"nextval",
 | 
						|
                            "param_num":-6,
 | 
						|
                            "dimension":-1,
 | 
						|
                            "real_param_num":2,
 | 
						|
                            "result_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"BIGINT UNSIGNED",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":20,
 | 
						|
                                "scale":0
 | 
						|
                              },
 | 
						|
                              "flag":1,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "input_type": [
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"BIGINT UNSIGNED",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":20,
 | 
						|
                                "flag":1
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":11,
 | 
						|
                                "flag":17027
 | 
						|
                              }
 | 
						|
                            ]
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "table_id":1099511677786,
 | 
						|
                  "column_id": [
 | 
						|
                    16,
 | 
						|
                    17,
 | 
						|
                    18
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_EXPR_VALUES": {
 | 
						|
                      "id":0,
 | 
						|
                      "type":30,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "values": [
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT UNSIGNED":16
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "op": {
 | 
						|
                              "expr_type":"T_FUN_SYS_NEXTVAL",
 | 
						|
                              "expr_name":"nextval",
 | 
						|
                              "param_num":-6,
 | 
						|
                              "dimension":-1,
 | 
						|
                              "real_param_num":1,
 | 
						|
                              "result_type": {
 | 
						|
                                "meta": {
 | 
						|
                                  "type":"BIGINT UNSIGNED",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":20,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "flag":1,
 | 
						|
                                "calc_type": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"invalid_type",
 | 
						|
                                  "coercibility":"INVALID"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                              "input_type": [
 | 
						|
                                 {
 | 
						|
                                  "calc_meta": {
 | 
						|
                                    "type":"BIGINT UNSIGNED",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "length":20,
 | 
						|
                                  "flag":1
 | 
						|
                                }
 | 
						|
                              ]
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "BIGINT UNSIGNED":16
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "op": {
 | 
						|
                              "expr_type":"T_FUN_SYS_NEXTVAL",
 | 
						|
                              "expr_name":"nextval",
 | 
						|
                              "param_num":-6,
 | 
						|
                              "dimension":-1,
 | 
						|
                              "real_param_num":1,
 | 
						|
                              "result_type": {
 | 
						|
                                "meta": {
 | 
						|
                                  "type":"BIGINT UNSIGNED",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":20,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "flag":1,
 | 
						|
                                "calc_type": {
 | 
						|
                                  "type":"NULL",
 | 
						|
                                  "collation":"invalid_type",
 | 
						|
                                  "coercibility":"INVALID"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                              "input_type": [
 | 
						|
                                 {
 | 
						|
                                  "calc_meta": {
 | 
						|
                                    "type":"BIGINT UNSIGNED",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "length":20,
 | 
						|
                                  "flag":1
 | 
						|
                                }
 | 
						|
                              ]
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "const": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ]
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[25] select (select 1, 2, 3)=ROW(1, 2, 3);
 | 
						|
{
 | 
						|
  "param_num":1,
 | 
						|
  "table_schema_version": [
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":1,
 | 
						|
  "location_type":1,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":3,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_SUBPLAN_FILTER": {
 | 
						|
          "id":2,
 | 
						|
          "type":33,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
             {
 | 
						|
              "result_index":1,
 | 
						|
              "post_expr": [
 | 
						|
                 {
 | 
						|
                  "param":0,
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":-1,
 | 
						|
                    "precision":-1,
 | 
						|
                    "scale":-1
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "rescan_param": [
 | 
						|
          ],
 | 
						|
          "onetime_filter": [
 | 
						|
             {
 | 
						|
              "index":0,
 | 
						|
              "expression": [
 | 
						|
                 {
 | 
						|
                  "op": {
 | 
						|
                    "expr_type":"T_REF_QUERY",
 | 
						|
                    "expr_name":"ref_query",
 | 
						|
                    "param_num":0,
 | 
						|
                    "dimension":-1,
 | 
						|
                    "real_param_num":0,
 | 
						|
                    "scalar_result_type": {
 | 
						|
                      "meta": {
 | 
						|
                        "type":"NULL",
 | 
						|
                        "collation":"invalid_type",
 | 
						|
                        "coercibility":"INVALID"
 | 
						|
                      },
 | 
						|
                      "accuracy": {
 | 
						|
                        "length":-1,
 | 
						|
                        "precision":-1,
 | 
						|
                        "scale":-1
 | 
						|
                      },
 | 
						|
                      "flag":0,
 | 
						|
                      "calc_type": {
 | 
						|
                        "type":"NULL",
 | 
						|
                        "collation":"invalid_type",
 | 
						|
                        "coercibility":"INVALID"
 | 
						|
                      }
 | 
						|
                    },
 | 
						|
                    "result_is_scalar":false,
 | 
						|
                    "subquery_idx":0
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "const": {
 | 
						|
                    "BIGINT":1
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":1,
 | 
						|
                    "precision":1,
 | 
						|
                    "scale":0
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "const": {
 | 
						|
                    "BIGINT":2
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":1,
 | 
						|
                    "precision":1,
 | 
						|
                    "scale":0
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "const": {
 | 
						|
                    "BIGINT":3
 | 
						|
                  },
 | 
						|
                  "accuracy": {
 | 
						|
                    "length":1,
 | 
						|
                    "precision":1,
 | 
						|
                    "scale":0
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                 {
 | 
						|
                  "op": {
 | 
						|
                    "expr_type":"T_OP_SQ_EQ",
 | 
						|
                    "real_param_num":4,
 | 
						|
                    "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"
 | 
						|
                      }
 | 
						|
                    },
 | 
						|
                    "subquery_key":0,
 | 
						|
                    "left_is_iter":true,
 | 
						|
                    "right_is_iter":false
 | 
						|
                  }
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "init_plan_idxs": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "one_time_idxs": [
 | 
						|
            2
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_EXPR_VALUES": {
 | 
						|
              "id":0,
 | 
						|
              "type":30,
 | 
						|
              "column_count":1,
 | 
						|
              "projector": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "values": [
 | 
						|
                 [
 | 
						|
                   {
 | 
						|
                    "const": {
 | 
						|
                      "BIGINT":1
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":-1,
 | 
						|
                      "scale":-1
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          },
 | 
						|
           {
 | 
						|
            "PHY_EXPR_VALUES": {
 | 
						|
              "id":1,
 | 
						|
              "type":30,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "values": [
 | 
						|
                 [
 | 
						|
                   {
 | 
						|
                    "const": {
 | 
						|
                      "BIGINT":1
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ],
 | 
						|
                 [
 | 
						|
                   {
 | 
						|
                    "const": {
 | 
						|
                      "BIGINT":2
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ],
 | 
						|
                 [
 | 
						|
                   {
 | 
						|
                    "const": {
 | 
						|
                      "BIGINT":3
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[26] select (select 1)=ANY(select 1);
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":1,
 | 
						|
  "location_type":1,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":1,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_EXPR_VALUES": {
 | 
						|
          "id":0,
 | 
						|
          "type":30,
 | 
						|
          "column_count":1,
 | 
						|
          "projector": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ],
 | 
						|
          "values": [
 | 
						|
             [
 | 
						|
               {
 | 
						|
                "const": {
 | 
						|
                  "BIGINT":1
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                }
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "const": {
 | 
						|
                  "BIGINT":1
 | 
						|
                },
 | 
						|
                "accuracy": {
 | 
						|
                  "length":1,
 | 
						|
                  "precision":1,
 | 
						|
                  "scale":0
 | 
						|
                }
 | 
						|
              },
 | 
						|
               {
 | 
						|
                "op": {
 | 
						|
                  "expr_type":"T_OP_EQ",
 | 
						|
                  "expr_name":"=",
 | 
						|
                  "param_num":2,
 | 
						|
                  "dimension":-1,
 | 
						|
                  "real_param_num":2,
 | 
						|
                  "result_type": {
 | 
						|
                    "meta": {
 | 
						|
                      "type":"INT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    },
 | 
						|
                    "accuracy": {
 | 
						|
                      "length":-1,
 | 
						|
                      "precision":1,
 | 
						|
                      "scale":0
 | 
						|
                    },
 | 
						|
                    "flag":1,
 | 
						|
                    "calc_type": {
 | 
						|
                      "type":"BIGINT",
 | 
						|
                      "collation":"binary",
 | 
						|
                      "coercibility":"NUMERIC"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "input_type": [
 | 
						|
                     {
 | 
						|
                      "calc_meta": {
 | 
						|
                        "type":"BIGINT",
 | 
						|
                        "collation":"binary",
 | 
						|
                        "coercibility":"NUMERIC"
 | 
						|
                      },
 | 
						|
                      "length":1,
 | 
						|
                      "flag":1
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "calc_meta": {
 | 
						|
                        "type":"BIGINT",
 | 
						|
                        "collation":"binary",
 | 
						|
                        "coercibility":"NUMERIC"
 | 
						|
                      },
 | 
						|
                      "length":1,
 | 
						|
                      "flag":1
 | 
						|
                    }
 | 
						|
                  ]
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          ]
 | 
						|
        }
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[27] (select * from yu1) union all (select * from yu2);
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677782,
 | 
						|
      "schema_version":252,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677783,
 | 
						|
      "schema_version":253,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":6,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":5,
 | 
						|
          "type":15,
 | 
						|
          "column_count":3,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            2
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":4,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_GRANULE_ITERATOR": {
 | 
						|
                  "id":3,
 | 
						|
                  "type":71,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "ref_table_id_":-1,
 | 
						|
                  "tablet_size_":134217728,
 | 
						|
                  "affinitize_":false,
 | 
						|
                  "access_all_":false
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_MERGE_UNION": {
 | 
						|
                      "id":2,
 | 
						|
                      "type":18,
 | 
						|
                      "column_count":3,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1,
 | 
						|
                        2
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "distinct":false,
 | 
						|
                      "collation_types": [
 | 
						|
                        "utf8mb4_general_ci",
 | 
						|
                        "binary",
 | 
						|
                        "utf8mb4_general_ci"
 | 
						|
                      ],
 | 
						|
                      "set_directions_": [
 | 
						|
                      ],
 | 
						|
                      "cte_pseido_column_": [
 | 
						|
                      ],
 | 
						|
                      "l_map_array_": [
 | 
						|
                      ],
 | 
						|
                      "r_map_array_": [
 | 
						|
                      ]
 | 
						|
                    },
 | 
						|
                    "child_operators": [
 | 
						|
                       {
 | 
						|
                        "PHY_TABLE_SCAN": {
 | 
						|
                          "id":0,
 | 
						|
                          "column_count":4,
 | 
						|
                          "projector": [
 | 
						|
                            0,
 | 
						|
                            1,
 | 
						|
                            3
 | 
						|
                          ],
 | 
						|
                          "filter_exprs": [
 | 
						|
                          ],
 | 
						|
                          "calc_exprs": [
 | 
						|
                             {
 | 
						|
                              "result_index":3,
 | 
						|
                              "post_expr": [
 | 
						|
                                 {
 | 
						|
                                  "column_index":2,
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":20,
 | 
						|
                                    "scale":0
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "const": {
 | 
						|
                                    "BIGINT":85902295063
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "op": {
 | 
						|
                                    "expr_type":"T_FUN_SYS_CAST",
 | 
						|
                                    "expr_name":"cast",
 | 
						|
                                    "param_num":2,
 | 
						|
                                    "dimension":-1,
 | 
						|
                                    "real_param_num":2,
 | 
						|
                                    "result_type": {
 | 
						|
                                      "meta": {
 | 
						|
                                        "type":"VARCHAR",
 | 
						|
                                        "collation":"utf8mb4_general_ci",
 | 
						|
                                        "coercibility":"IMPLICIT"
 | 
						|
                                      },
 | 
						|
                                      "accuracy": {
 | 
						|
                                        "length":20,
 | 
						|
                                        "precision":-1,
 | 
						|
                                        "scale":-1
 | 
						|
                                      },
 | 
						|
                                      "flag":0,
 | 
						|
                                      "calc_type": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "input_type": [
 | 
						|
                                       {
 | 
						|
                                        "calc_meta": {
 | 
						|
                                          "type":"CHAR",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        },
 | 
						|
                                        "length":20,
 | 
						|
                                        "flag":16387
 | 
						|
                                      },
 | 
						|
                                       {
 | 
						|
                                        "calc_meta": {
 | 
						|
                                          "type":"BIGINT",
 | 
						|
                                          "collation":"binary",
 | 
						|
                                          "coercibility":"NUMERIC"
 | 
						|
                                        },
 | 
						|
                                        "length":20,
 | 
						|
                                        "flag":1
 | 
						|
                                      }
 | 
						|
                                    ]
 | 
						|
                                  }
 | 
						|
                                }
 | 
						|
                              ]
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "ref_table_id":1099511677782,
 | 
						|
                          "index_table_id":1099511677782,
 | 
						|
                          "flag":1,
 | 
						|
                          "limit": [
 | 
						|
                          ],
 | 
						|
                          "offset": [
 | 
						|
                          ],
 | 
						|
                          "for_update":false,
 | 
						|
                          "wait":-1,
 | 
						|
                          "query_range": [
 | 
						|
                             {
 | 
						|
                              "in":false,
 | 
						|
                              "is_get":false,
 | 
						|
                              "is_standard":true,
 | 
						|
                              "range_graph": {
 | 
						|
                                "key_part_value": {
 | 
						|
                                  "index_id": {
 | 
						|
                                    "table_id":1099511677782,
 | 
						|
                                    "column_id":-1
 | 
						|
                                  },
 | 
						|
                                  "pos": {
 | 
						|
                                    "offset":-1,
 | 
						|
                                    "column_type": {
 | 
						|
                                      "meta": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      },
 | 
						|
                                      "accuracy": {
 | 
						|
                                        "length":-1,
 | 
						|
                                        "precision":-1,
 | 
						|
                                        "scale":-1
 | 
						|
                                      },
 | 
						|
                                      "flag":0,
 | 
						|
                                      "calc_type": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "enum_set_values": [
 | 
						|
                                    ]
 | 
						|
                                  },
 | 
						|
                                  "key_type":0,
 | 
						|
                                  "null_safe":false,
 | 
						|
                                  "start_value": {
 | 
						|
                                    "EXT":"-3"
 | 
						|
                                  },
 | 
						|
                                  "end_value": {
 | 
						|
                                    "EXT":"-2"
 | 
						|
                                  },
 | 
						|
                                  "include_start":false,
 | 
						|
                                  "include_end":false,
 | 
						|
                                  "always_true":true,
 | 
						|
                                  "always_false":false
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "is_top_table_scan":false,
 | 
						|
                          "virtual_column_exprs": [
 | 
						|
                          ],
 | 
						|
                          "table_location_key":1099511677782,
 | 
						|
                          "output_column_ids": [
 | 
						|
                            16,
 | 
						|
                            17,
 | 
						|
                            18
 | 
						|
                          ],
 | 
						|
                          "table_param": {
 | 
						|
                            "table_id":1099511677782,
 | 
						|
                            "index_id":-1,
 | 
						|
                            "schema_version":252,
 | 
						|
                            "main_table_rowkey_cnt":1,
 | 
						|
                            "index_table_rowkey_cnt":0,
 | 
						|
                            "column_array": [
 | 
						|
                               {
 | 
						|
                                "column_id":18,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"BIGINT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":20,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "column_id":16,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"CHAR",
 | 
						|
                                  "collation":"utf8mb4_general_ci",
 | 
						|
                                  "coercibility":"INVALID"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":20,
 | 
						|
                                  "precision":-1,
 | 
						|
                                  "scale":-1
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "column_id":17,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"BIGINT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":20,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            ],
 | 
						|
                            "projector": [
 | 
						|
                              0,
 | 
						|
                              1,
 | 
						|
                              2
 | 
						|
                            ],
 | 
						|
                            "output_projector": [
 | 
						|
                              1,
 | 
						|
                              2,
 | 
						|
                              0
 | 
						|
                            ],
 | 
						|
                            "index_column_array":null,
 | 
						|
                            "index_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_output_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_back_projector": [
 | 
						|
                            ],
 | 
						|
                            "pad_col_projector": [
 | 
						|
                              0
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "is_index_global":false
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "PHY_TABLE_SCAN": {
 | 
						|
                          "id":1,
 | 
						|
                          "column_count":3,
 | 
						|
                          "projector": [
 | 
						|
                            1,
 | 
						|
                            0,
 | 
						|
                            2
 | 
						|
                          ],
 | 
						|
                          "filter_exprs": [
 | 
						|
                          ],
 | 
						|
                          "calc_exprs": [
 | 
						|
                          ],
 | 
						|
                          "ref_table_id":1099511677783,
 | 
						|
                          "index_table_id":1099511677783,
 | 
						|
                          "flag":1,
 | 
						|
                          "limit": [
 | 
						|
                          ],
 | 
						|
                          "offset": [
 | 
						|
                          ],
 | 
						|
                          "for_update":false,
 | 
						|
                          "wait":-1,
 | 
						|
                          "query_range": [
 | 
						|
                             {
 | 
						|
                              "in":false,
 | 
						|
                              "is_get":false,
 | 
						|
                              "is_standard":true,
 | 
						|
                              "range_graph": {
 | 
						|
                                "key_part_value": {
 | 
						|
                                  "index_id": {
 | 
						|
                                    "table_id":1099511677783,
 | 
						|
                                    "column_id":-1
 | 
						|
                                  },
 | 
						|
                                  "pos": {
 | 
						|
                                    "offset":-1,
 | 
						|
                                    "column_type": {
 | 
						|
                                      "meta": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      },
 | 
						|
                                      "accuracy": {
 | 
						|
                                        "length":-1,
 | 
						|
                                        "precision":-1,
 | 
						|
                                        "scale":-1
 | 
						|
                                      },
 | 
						|
                                      "flag":0,
 | 
						|
                                      "calc_type": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "enum_set_values": [
 | 
						|
                                    ]
 | 
						|
                                  },
 | 
						|
                                  "key_type":0,
 | 
						|
                                  "null_safe":false,
 | 
						|
                                  "start_value": {
 | 
						|
                                    "EXT":"-3"
 | 
						|
                                  },
 | 
						|
                                  "end_value": {
 | 
						|
                                    "EXT":"-2"
 | 
						|
                                  },
 | 
						|
                                  "include_start":false,
 | 
						|
                                  "include_end":false,
 | 
						|
                                  "always_true":true,
 | 
						|
                                  "always_false":false
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "is_top_table_scan":false,
 | 
						|
                          "virtual_column_exprs": [
 | 
						|
                          ],
 | 
						|
                          "table_location_key":1099511677783,
 | 
						|
                          "output_column_ids": [
 | 
						|
                            17,
 | 
						|
                            16,
 | 
						|
                            18
 | 
						|
                          ],
 | 
						|
                          "table_param": {
 | 
						|
                            "table_id":1099511677783,
 | 
						|
                            "index_id":-1,
 | 
						|
                            "schema_version":253,
 | 
						|
                            "main_table_rowkey_cnt":1,
 | 
						|
                            "index_table_rowkey_cnt":0,
 | 
						|
                            "column_array": [
 | 
						|
                               {
 | 
						|
                                "column_id":17,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"BIGINT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":20,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "column_id":16,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"CHAR",
 | 
						|
                                  "collation":"utf8mb4_general_ci",
 | 
						|
                                  "coercibility":"INVALID"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":20,
 | 
						|
                                  "precision":-1,
 | 
						|
                                  "scale":-1
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "column_id":18,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"CHAR",
 | 
						|
                                  "collation":"utf8mb4_general_ci",
 | 
						|
                                  "coercibility":"INVALID"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":20,
 | 
						|
                                  "precision":-1,
 | 
						|
                                  "scale":-1
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            ],
 | 
						|
                            "projector": [
 | 
						|
                              0,
 | 
						|
                              1,
 | 
						|
                              2
 | 
						|
                            ],
 | 
						|
                            "output_projector": [
 | 
						|
                              0,
 | 
						|
                              1,
 | 
						|
                              2
 | 
						|
                            ],
 | 
						|
                            "index_column_array":null,
 | 
						|
                            "index_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_output_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_back_projector": [
 | 
						|
                            ],
 | 
						|
                            "pad_col_projector": [
 | 
						|
                              1,
 | 
						|
                              2
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "is_index_global":false
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[28] select yu3.id, (select yu4.binaryvalue from yu4 where yu4.id=yu3.id) as value from yu3;
 | 
						|
{
 | 
						|
  "param_num":1,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677784,
 | 
						|
      "schema_version":254,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677785,
 | 
						|
      "schema_version":255,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":2,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SUBPLAN_FILTER": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":33,
 | 
						|
                  "column_count":2,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                     {
 | 
						|
                      "result_index":1,
 | 
						|
                      "post_expr": [
 | 
						|
                         {
 | 
						|
                          "op": {
 | 
						|
                            "expr_type":"T_REF_QUERY",
 | 
						|
                            "expr_name":"ref_query",
 | 
						|
                            "param_num":0,
 | 
						|
                            "dimension":-1,
 | 
						|
                            "real_param_num":0,
 | 
						|
                            "scalar_result_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"VARCHAR",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"IMPLICIT"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":255,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              },
 | 
						|
                              "flag":0,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "result_is_scalar":true,
 | 
						|
                            "subquery_idx":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "rescan_param": [
 | 
						|
                     {
 | 
						|
                      "index":0,
 | 
						|
                      "expression": [
 | 
						|
                         {
 | 
						|
                          "column_index":0,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":11,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "onetime_filter": [
 | 
						|
                  ],
 | 
						|
                  "init_plan_idxs": [
 | 
						|
                  ],
 | 
						|
                  "one_time_idxs": [
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677784,
 | 
						|
                      "index_table_id":1099511677784,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677784,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677784,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677784,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":254,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677785,
 | 
						|
                      "index_table_id":1099511677785,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":true,
 | 
						|
                          "is_get":true,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677785,
 | 
						|
                                "column_id":16
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":0,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"INT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":11,
 | 
						|
                                    "scale":0
 | 
						|
                                  },
 | 
						|
                                  "flag":16387,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "UNKNOWN":0
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "UNKNOWN":0
 | 
						|
                              },
 | 
						|
                              "include_start":true,
 | 
						|
                              "include_end":true,
 | 
						|
                              "always_true":false,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677785,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        17
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677785,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":255,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"VARCHAR",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":255,
 | 
						|
                              "precision":-1,
 | 
						|
                              "scale":-1
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[29] select (case c1 when 1 then 2 else 2 end) d  from t1 order by d;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":4,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":3,
 | 
						|
          "type":15,
 | 
						|
          "column_count":1,
 | 
						|
          "projector": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":2,
 | 
						|
              "type":14,
 | 
						|
              "column_count":1,
 | 
						|
              "projector": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SORT": {
 | 
						|
                  "id":1,
 | 
						|
                  "column_count":1,
 | 
						|
                  "projector": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "order_by": [
 | 
						|
                     {
 | 
						|
                      "index_id":0,
 | 
						|
                      "collation_type":"binary",
 | 
						|
                      "ascending":"ASC"
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "limit":134217728,
 | 
						|
                  "minimum_row_count":0,
 | 
						|
                  "topk_precision":0
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":2,
 | 
						|
                      "projector": [
 | 
						|
                        1
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":1,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":0,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "const": {
 | 
						|
                                "BIGINT":1
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":1,
 | 
						|
                                "precision":1,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "const": {
 | 
						|
                                "BIGINT":2
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":1,
 | 
						|
                                "precision":1,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "const": {
 | 
						|
                                "BIGINT":2
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":1,
 | 
						|
                                "precision":1,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_OP_ARG_CASE",
 | 
						|
                                "expr_name":"arg_case",
 | 
						|
                                "param_num":-3,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":4,
 | 
						|
                                "result_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"BIGINT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":20,
 | 
						|
                                    "scale":0
 | 
						|
                                  },
 | 
						|
                                  "flag":1,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"INT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":11,
 | 
						|
                                    "flag":16387
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"BIGINT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":1,
 | 
						|
                                    "flag":1
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"BIGINT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":1,
 | 
						|
                                    "flag":1
 | 
						|
                                  },
 | 
						|
                                   {
 | 
						|
                                    "calc_meta": {
 | 
						|
                                      "type":"BIGINT",
 | 
						|
                                      "collation":"binary",
 | 
						|
                                      "coercibility":"NUMERIC"
 | 
						|
                                    },
 | 
						|
                                    "length":1,
 | 
						|
                                    "flag":1
 | 
						|
                                  }
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[30] select c1, c1 from t1 union select c1, c2 from t1;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":2,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_MERGE_UNION": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":18,
 | 
						|
                  "column_count":2,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "distinct":true,
 | 
						|
                  "collation_types": [
 | 
						|
                    "binary",
 | 
						|
                    "binary"
 | 
						|
                  ],
 | 
						|
                  "set_directions_": [
 | 
						|
                    1,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "cte_pseido_column_": [
 | 
						|
                  ],
 | 
						|
                  "l_map_array_": [
 | 
						|
                    0,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "r_map_array_": [
 | 
						|
                    0,
 | 
						|
                    1
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":2,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":-2,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":-2,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[31] select c1, c1 from t1 union all select c1, c2 from t1;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":2,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_MERGE_UNION": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":18,
 | 
						|
                  "column_count":2,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "distinct":false,
 | 
						|
                  "collation_types": [
 | 
						|
                    "binary",
 | 
						|
                    "binary"
 | 
						|
                  ],
 | 
						|
                  "set_directions_": [
 | 
						|
                  ],
 | 
						|
                  "cte_pseido_column_": [
 | 
						|
                  ],
 | 
						|
                  "l_map_array_": [
 | 
						|
                  ],
 | 
						|
                  "r_map_array_": [
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":2,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":-2,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":-2,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[32] select c2, c2 as c from t1 union select c2, c2 from t1;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":2,
 | 
						|
              "projector": [
 | 
						|
                0,
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_HASH_UNION": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":19,
 | 
						|
                  "column_count":2,
 | 
						|
                  "projector": [
 | 
						|
                    0,
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "distinct":true,
 | 
						|
                  "collation_types": [
 | 
						|
                    "binary",
 | 
						|
                    "binary"
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        17
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":-2,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":-2,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        17
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[33] select c1 from t1 having (select count(t1.c1) from t2)>0;
 | 
						|
{
 | 
						|
  "param_num":1,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":6,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":5,
 | 
						|
          "type":15,
 | 
						|
          "column_count":1,
 | 
						|
          "projector": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":4,
 | 
						|
              "type":14,
 | 
						|
              "column_count":2,
 | 
						|
              "projector": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SUBPLAN_FILTER": {
 | 
						|
                  "id":3,
 | 
						|
                  "type":33,
 | 
						|
                  "column_count":2,
 | 
						|
                  "projector": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                     [
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_REF_QUERY",
 | 
						|
                          "expr_name":"ref_query",
 | 
						|
                          "param_num":0,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":0,
 | 
						|
                          "scalar_result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":0,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"NULL",
 | 
						|
                              "collation":"invalid_type",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "result_is_scalar":true,
 | 
						|
                          "subquery_idx":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "const": {
 | 
						|
                          "BIGINT":0
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_OP_GT",
 | 
						|
                          "expr_name":">",
 | 
						|
                          "param_num":2,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":2,
 | 
						|
                          "result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":0,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "input_type": [
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"BIGINT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":20,
 | 
						|
                              "flag":0
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"BIGINT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":1,
 | 
						|
                              "flag":1
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "rescan_param": [
 | 
						|
                     {
 | 
						|
                      "index":0,
 | 
						|
                      "expression": [
 | 
						|
                         {
 | 
						|
                          "column_index":1,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":20,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "onetime_filter": [
 | 
						|
                  ],
 | 
						|
                  "init_plan_idxs": [
 | 
						|
                  ],
 | 
						|
                  "one_time_idxs": [
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_SCALAR_AGGREGATE": {
 | 
						|
                      "id":1,
 | 
						|
                      "type":10,
 | 
						|
                      "column_count":2,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "aggr_col": [
 | 
						|
                         {
 | 
						|
                          "result_index":1,
 | 
						|
                          "aggr_func":"COUNT",
 | 
						|
                          "distinct":false,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "column_index":0,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_OP_AGG_PARAM_LIST",
 | 
						|
                                "expr_name":"agg_param_list",
 | 
						|
                                "param_num":1,
 | 
						|
                                "dimension":1,
 | 
						|
                                "real_param_num":1,
 | 
						|
                                "result_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"BIGINT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":20,
 | 
						|
                                    "scale":0
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "mem_limit":0
 | 
						|
                    },
 | 
						|
                    "child_operators": [
 | 
						|
                       {
 | 
						|
                        "PHY_TABLE_SCAN": {
 | 
						|
                          "id":0,
 | 
						|
                          "column_count":1,
 | 
						|
                          "projector": [
 | 
						|
                            0
 | 
						|
                          ],
 | 
						|
                          "filter_exprs": [
 | 
						|
                          ],
 | 
						|
                          "calc_exprs": [
 | 
						|
                          ],
 | 
						|
                          "ref_table_id":1099511677777,
 | 
						|
                          "index_table_id":1099511677777,
 | 
						|
                          "flag":1,
 | 
						|
                          "limit": [
 | 
						|
                          ],
 | 
						|
                          "offset": [
 | 
						|
                          ],
 | 
						|
                          "for_update":false,
 | 
						|
                          "wait":-1,
 | 
						|
                          "query_range": [
 | 
						|
                             {
 | 
						|
                              "in":false,
 | 
						|
                              "is_get":false,
 | 
						|
                              "is_standard":true,
 | 
						|
                              "range_graph": {
 | 
						|
                                "key_part_value": {
 | 
						|
                                  "index_id": {
 | 
						|
                                    "table_id":1099511677777,
 | 
						|
                                    "column_id":-1
 | 
						|
                                  },
 | 
						|
                                  "pos": {
 | 
						|
                                    "offset":-1,
 | 
						|
                                    "column_type": {
 | 
						|
                                      "meta": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      },
 | 
						|
                                      "accuracy": {
 | 
						|
                                        "length":-1,
 | 
						|
                                        "precision":-1,
 | 
						|
                                        "scale":-1
 | 
						|
                                      },
 | 
						|
                                      "flag":0,
 | 
						|
                                      "calc_type": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "enum_set_values": [
 | 
						|
                                    ]
 | 
						|
                                  },
 | 
						|
                                  "key_type":0,
 | 
						|
                                  "null_safe":false,
 | 
						|
                                  "start_value": {
 | 
						|
                                    "EXT":"-3"
 | 
						|
                                  },
 | 
						|
                                  "end_value": {
 | 
						|
                                    "EXT":"-2"
 | 
						|
                                  },
 | 
						|
                                  "include_start":false,
 | 
						|
                                  "include_end":false,
 | 
						|
                                  "always_true":true,
 | 
						|
                                  "always_false":false
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "is_top_table_scan":false,
 | 
						|
                          "virtual_column_exprs": [
 | 
						|
                          ],
 | 
						|
                          "table_location_key":1099511677777,
 | 
						|
                          "output_column_ids": [
 | 
						|
                            16
 | 
						|
                          ],
 | 
						|
                          "table_param": {
 | 
						|
                            "table_id":1099511677777,
 | 
						|
                            "index_id":-1,
 | 
						|
                            "schema_version":247,
 | 
						|
                            "main_table_rowkey_cnt":1,
 | 
						|
                            "index_table_rowkey_cnt":0,
 | 
						|
                            "column_array": [
 | 
						|
                               {
 | 
						|
                                "column_id":16,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":11,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            ],
 | 
						|
                            "projector": [
 | 
						|
                              0
 | 
						|
                            ],
 | 
						|
                            "output_projector": [
 | 
						|
                              0
 | 
						|
                            ],
 | 
						|
                            "index_column_array":null,
 | 
						|
                            "index_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_output_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_back_projector": [
 | 
						|
                            ],
 | 
						|
                            "pad_col_projector": [
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "is_index_global":false
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":2,
 | 
						|
                      "column_count":2,
 | 
						|
                      "projector": [
 | 
						|
                        1
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":1,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":0,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":20,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677778,
 | 
						|
                      "index_table_id":1099511677778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677778,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":248,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[34] select c1 from t1 where (select count(t1.c1) from t2)>0;
 | 
						|
{
 | 
						|
  "param_num":1,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":6,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":5,
 | 
						|
          "type":15,
 | 
						|
          "column_count":1,
 | 
						|
          "projector": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":4,
 | 
						|
              "type":14,
 | 
						|
              "column_count":1,
 | 
						|
              "projector": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SUBPLAN_FILTER": {
 | 
						|
                  "id":3,
 | 
						|
                  "type":33,
 | 
						|
                  "column_count":1,
 | 
						|
                  "projector": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                     [
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_REF_QUERY",
 | 
						|
                          "expr_name":"ref_query",
 | 
						|
                          "param_num":0,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":0,
 | 
						|
                          "scalar_result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":20,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":0,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"NULL",
 | 
						|
                              "collation":"invalid_type",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "result_is_scalar":true,
 | 
						|
                          "subquery_idx":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "const": {
 | 
						|
                          "BIGINT":0
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_OP_GT",
 | 
						|
                          "expr_name":">",
 | 
						|
                          "param_num":2,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":2,
 | 
						|
                          "result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":0,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"BIGINT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "input_type": [
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"BIGINT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":20,
 | 
						|
                              "flag":0
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"BIGINT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":1,
 | 
						|
                              "flag":1
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "rescan_param": [
 | 
						|
                     {
 | 
						|
                      "index":0,
 | 
						|
                      "expression": [
 | 
						|
                         {
 | 
						|
                          "column_index":0,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":11,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "onetime_filter": [
 | 
						|
                  ],
 | 
						|
                  "init_plan_idxs": [
 | 
						|
                  ],
 | 
						|
                  "one_time_idxs": [
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_SCALAR_AGGREGATE": {
 | 
						|
                      "id":2,
 | 
						|
                      "type":10,
 | 
						|
                      "column_count":2,
 | 
						|
                      "projector": [
 | 
						|
                        1
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "aggr_col": [
 | 
						|
                         {
 | 
						|
                          "result_index":1,
 | 
						|
                          "aggr_func":"COUNT",
 | 
						|
                          "distinct":false,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "param":0,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_OP_AGG_PARAM_LIST",
 | 
						|
                                "expr_name":"agg_param_list",
 | 
						|
                                "param_num":1,
 | 
						|
                                "dimension":1,
 | 
						|
                                "real_param_num":1,
 | 
						|
                                "result_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"BIGINT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":20,
 | 
						|
                                    "scale":0
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "input_type": [
 | 
						|
                                ]
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "mem_limit":0
 | 
						|
                    },
 | 
						|
                    "child_operators": [
 | 
						|
                       {
 | 
						|
                        "PHY_TABLE_SCAN": {
 | 
						|
                          "id":1,
 | 
						|
                          "column_count":1,
 | 
						|
                          "projector": [
 | 
						|
                            0
 | 
						|
                          ],
 | 
						|
                          "filter_exprs": [
 | 
						|
                          ],
 | 
						|
                          "calc_exprs": [
 | 
						|
                          ],
 | 
						|
                          "ref_table_id":1099511677778,
 | 
						|
                          "index_table_id":1099511677778,
 | 
						|
                          "flag":1,
 | 
						|
                          "limit": [
 | 
						|
                          ],
 | 
						|
                          "offset": [
 | 
						|
                          ],
 | 
						|
                          "for_update":false,
 | 
						|
                          "wait":-1,
 | 
						|
                          "query_range": [
 | 
						|
                             {
 | 
						|
                              "in":false,
 | 
						|
                              "is_get":false,
 | 
						|
                              "is_standard":true,
 | 
						|
                              "range_graph": {
 | 
						|
                                "key_part_value": {
 | 
						|
                                  "index_id": {
 | 
						|
                                    "table_id":1099511677778,
 | 
						|
                                    "column_id":-1
 | 
						|
                                  },
 | 
						|
                                  "pos": {
 | 
						|
                                    "offset":-1,
 | 
						|
                                    "column_type": {
 | 
						|
                                      "meta": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      },
 | 
						|
                                      "accuracy": {
 | 
						|
                                        "length":-1,
 | 
						|
                                        "precision":-1,
 | 
						|
                                        "scale":-1
 | 
						|
                                      },
 | 
						|
                                      "flag":0,
 | 
						|
                                      "calc_type": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "enum_set_values": [
 | 
						|
                                    ]
 | 
						|
                                  },
 | 
						|
                                  "key_type":0,
 | 
						|
                                  "null_safe":false,
 | 
						|
                                  "start_value": {
 | 
						|
                                    "EXT":"-3"
 | 
						|
                                  },
 | 
						|
                                  "end_value": {
 | 
						|
                                    "EXT":"-2"
 | 
						|
                                  },
 | 
						|
                                  "include_start":false,
 | 
						|
                                  "include_end":false,
 | 
						|
                                  "always_true":true,
 | 
						|
                                  "always_false":false
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "is_top_table_scan":false,
 | 
						|
                          "virtual_column_exprs": [
 | 
						|
                          ],
 | 
						|
                          "table_location_key":1099511677778,
 | 
						|
                          "output_column_ids": [
 | 
						|
                            16
 | 
						|
                          ],
 | 
						|
                          "table_param": {
 | 
						|
                            "table_id":1099511677778,
 | 
						|
                            "index_id":-1,
 | 
						|
                            "schema_version":248,
 | 
						|
                            "main_table_rowkey_cnt":1,
 | 
						|
                            "index_table_rowkey_cnt":0,
 | 
						|
                            "column_array": [
 | 
						|
                               {
 | 
						|
                                "column_id":16,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":11,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            ],
 | 
						|
                            "projector": [
 | 
						|
                              0
 | 
						|
                            ],
 | 
						|
                            "output_projector": [
 | 
						|
                              0
 | 
						|
                            ],
 | 
						|
                            "index_column_array":null,
 | 
						|
                            "index_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_output_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_back_projector": [
 | 
						|
                            ],
 | 
						|
                            "pad_col_projector": [
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "is_index_global":false
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[35] select c1 as cc from t1 order by (select cc from t2);
 | 
						|
{
 | 
						|
  "param_num":1,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":6,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":5,
 | 
						|
          "type":15,
 | 
						|
          "column_count":1,
 | 
						|
          "projector": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":4,
 | 
						|
              "type":14,
 | 
						|
              "column_count":2,
 | 
						|
              "projector": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SORT": {
 | 
						|
                  "id":3,
 | 
						|
                  "column_count":2,
 | 
						|
                  "projector": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "order_by": [
 | 
						|
                     {
 | 
						|
                      "index_id":1,
 | 
						|
                      "collation_type":"binary",
 | 
						|
                      "ascending":"ASC"
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "limit":134217728,
 | 
						|
                  "minimum_row_count":0,
 | 
						|
                  "topk_precision":0
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_SUBPLAN_FILTER": {
 | 
						|
                      "id":2,
 | 
						|
                      "type":33,
 | 
						|
                      "column_count":2,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                         {
 | 
						|
                          "result_index":1,
 | 
						|
                          "post_expr": [
 | 
						|
                             {
 | 
						|
                              "op": {
 | 
						|
                                "expr_type":"T_REF_QUERY",
 | 
						|
                                "expr_name":"ref_query",
 | 
						|
                                "param_num":0,
 | 
						|
                                "dimension":-1,
 | 
						|
                                "real_param_num":0,
 | 
						|
                                "scalar_result_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"INT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":11,
 | 
						|
                                    "scale":0
 | 
						|
                                  },
 | 
						|
                                  "flag":16387,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "result_is_scalar":true,
 | 
						|
                                "subquery_idx":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "rescan_param": [
 | 
						|
                         {
 | 
						|
                          "index":0,
 | 
						|
                          "expression": [
 | 
						|
                             {
 | 
						|
                              "column_index":0,
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "onetime_filter": [
 | 
						|
                      ],
 | 
						|
                      "init_plan_idxs": [
 | 
						|
                      ],
 | 
						|
                      "one_time_idxs": [
 | 
						|
                      ]
 | 
						|
                    },
 | 
						|
                    "child_operators": [
 | 
						|
                       {
 | 
						|
                        "PHY_TABLE_SCAN": {
 | 
						|
                          "id":0,
 | 
						|
                          "column_count":1,
 | 
						|
                          "projector": [
 | 
						|
                            0
 | 
						|
                          ],
 | 
						|
                          "filter_exprs": [
 | 
						|
                          ],
 | 
						|
                          "calc_exprs": [
 | 
						|
                          ],
 | 
						|
                          "ref_table_id":1099511677777,
 | 
						|
                          "index_table_id":1099511677777,
 | 
						|
                          "flag":1,
 | 
						|
                          "limit": [
 | 
						|
                          ],
 | 
						|
                          "offset": [
 | 
						|
                          ],
 | 
						|
                          "for_update":false,
 | 
						|
                          "wait":-1,
 | 
						|
                          "query_range": [
 | 
						|
                             {
 | 
						|
                              "in":false,
 | 
						|
                              "is_get":false,
 | 
						|
                              "is_standard":true,
 | 
						|
                              "range_graph": {
 | 
						|
                                "key_part_value": {
 | 
						|
                                  "index_id": {
 | 
						|
                                    "table_id":1099511677777,
 | 
						|
                                    "column_id":-1
 | 
						|
                                  },
 | 
						|
                                  "pos": {
 | 
						|
                                    "offset":-1,
 | 
						|
                                    "column_type": {
 | 
						|
                                      "meta": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      },
 | 
						|
                                      "accuracy": {
 | 
						|
                                        "length":-1,
 | 
						|
                                        "precision":-1,
 | 
						|
                                        "scale":-1
 | 
						|
                                      },
 | 
						|
                                      "flag":0,
 | 
						|
                                      "calc_type": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "enum_set_values": [
 | 
						|
                                    ]
 | 
						|
                                  },
 | 
						|
                                  "key_type":0,
 | 
						|
                                  "null_safe":false,
 | 
						|
                                  "start_value": {
 | 
						|
                                    "EXT":"-3"
 | 
						|
                                  },
 | 
						|
                                  "end_value": {
 | 
						|
                                    "EXT":"-2"
 | 
						|
                                  },
 | 
						|
                                  "include_start":false,
 | 
						|
                                  "include_end":false,
 | 
						|
                                  "always_true":true,
 | 
						|
                                  "always_false":false
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "is_top_table_scan":false,
 | 
						|
                          "virtual_column_exprs": [
 | 
						|
                          ],
 | 
						|
                          "table_location_key":1099511677777,
 | 
						|
                          "output_column_ids": [
 | 
						|
                            16
 | 
						|
                          ],
 | 
						|
                          "table_param": {
 | 
						|
                            "table_id":1099511677777,
 | 
						|
                            "index_id":-1,
 | 
						|
                            "schema_version":247,
 | 
						|
                            "main_table_rowkey_cnt":1,
 | 
						|
                            "index_table_rowkey_cnt":0,
 | 
						|
                            "column_array": [
 | 
						|
                               {
 | 
						|
                                "column_id":16,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":11,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            ],
 | 
						|
                            "projector": [
 | 
						|
                              0
 | 
						|
                            ],
 | 
						|
                            "output_projector": [
 | 
						|
                              0
 | 
						|
                            ],
 | 
						|
                            "index_column_array":null,
 | 
						|
                            "index_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_output_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_back_projector": [
 | 
						|
                            ],
 | 
						|
                            "pad_col_projector": [
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "is_index_global":false
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "PHY_TABLE_SCAN": {
 | 
						|
                          "id":1,
 | 
						|
                          "column_count":2,
 | 
						|
                          "projector": [
 | 
						|
                            1
 | 
						|
                          ],
 | 
						|
                          "filter_exprs": [
 | 
						|
                          ],
 | 
						|
                          "calc_exprs": [
 | 
						|
                             {
 | 
						|
                              "result_index":1,
 | 
						|
                              "post_expr": [
 | 
						|
                                 {
 | 
						|
                                  "param":0,
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":11,
 | 
						|
                                    "scale":0
 | 
						|
                                  }
 | 
						|
                                }
 | 
						|
                              ]
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "ref_table_id":1099511677778,
 | 
						|
                          "index_table_id":1099511677778,
 | 
						|
                          "flag":1,
 | 
						|
                          "limit": [
 | 
						|
                          ],
 | 
						|
                          "offset": [
 | 
						|
                          ],
 | 
						|
                          "for_update":false,
 | 
						|
                          "wait":-1,
 | 
						|
                          "query_range": [
 | 
						|
                             {
 | 
						|
                              "in":false,
 | 
						|
                              "is_get":false,
 | 
						|
                              "is_standard":true,
 | 
						|
                              "range_graph": {
 | 
						|
                                "key_part_value": {
 | 
						|
                                  "index_id": {
 | 
						|
                                    "table_id":1099511677778,
 | 
						|
                                    "column_id":-1
 | 
						|
                                  },
 | 
						|
                                  "pos": {
 | 
						|
                                    "offset":-1,
 | 
						|
                                    "column_type": {
 | 
						|
                                      "meta": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      },
 | 
						|
                                      "accuracy": {
 | 
						|
                                        "length":-1,
 | 
						|
                                        "precision":-1,
 | 
						|
                                        "scale":-1
 | 
						|
                                      },
 | 
						|
                                      "flag":0,
 | 
						|
                                      "calc_type": {
 | 
						|
                                        "type":"NULL",
 | 
						|
                                        "collation":"invalid_type",
 | 
						|
                                        "coercibility":"INVALID"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "enum_set_values": [
 | 
						|
                                    ]
 | 
						|
                                  },
 | 
						|
                                  "key_type":0,
 | 
						|
                                  "null_safe":false,
 | 
						|
                                  "start_value": {
 | 
						|
                                    "EXT":"-3"
 | 
						|
                                  },
 | 
						|
                                  "end_value": {
 | 
						|
                                    "EXT":"-2"
 | 
						|
                                  },
 | 
						|
                                  "include_start":false,
 | 
						|
                                  "include_end":false,
 | 
						|
                                  "always_true":true,
 | 
						|
                                  "always_false":false
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "is_top_table_scan":false,
 | 
						|
                          "virtual_column_exprs": [
 | 
						|
                          ],
 | 
						|
                          "table_location_key":1099511677778,
 | 
						|
                          "output_column_ids": [
 | 
						|
                            16
 | 
						|
                          ],
 | 
						|
                          "table_param": {
 | 
						|
                            "table_id":1099511677778,
 | 
						|
                            "index_id":-1,
 | 
						|
                            "schema_version":248,
 | 
						|
                            "main_table_rowkey_cnt":1,
 | 
						|
                            "index_table_rowkey_cnt":0,
 | 
						|
                            "column_array": [
 | 
						|
                               {
 | 
						|
                                "column_id":16,
 | 
						|
                                "meta_type": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "accuracy": {
 | 
						|
                                  "length":-1,
 | 
						|
                                  "precision":11,
 | 
						|
                                  "scale":0
 | 
						|
                                },
 | 
						|
                                "orig_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                },
 | 
						|
                                "cur_default_value": {
 | 
						|
                                  "NULL":"NULL"
 | 
						|
                                }
 | 
						|
                              }
 | 
						|
                            ],
 | 
						|
                            "projector": [
 | 
						|
                              0
 | 
						|
                            ],
 | 
						|
                            "output_projector": [
 | 
						|
                              0
 | 
						|
                            ],
 | 
						|
                            "index_column_array":null,
 | 
						|
                            "index_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_output_projector": [
 | 
						|
                            ],
 | 
						|
                            "index_back_projector": [
 | 
						|
                            ],
 | 
						|
                            "pad_col_projector": [
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "is_index_global":false
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[36] select c1 from t1 where c1 > (select c1 from t2 where t2.c1 >t1.c1 and t2.c2 >t1.c2);
 | 
						|
{
 | 
						|
  "param_num":2,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":1,
 | 
						|
          "projector": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":2,
 | 
						|
              "projector": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SUBPLAN_FILTER": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":33,
 | 
						|
                  "column_count":2,
 | 
						|
                  "projector": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                     [
 | 
						|
                       {
 | 
						|
                        "column_index":0,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_REF_QUERY",
 | 
						|
                          "expr_name":"ref_query",
 | 
						|
                          "param_num":0,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":0,
 | 
						|
                          "scalar_result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":16387,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"NULL",
 | 
						|
                              "collation":"invalid_type",
 | 
						|
                              "coercibility":"INVALID"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "result_is_scalar":true,
 | 
						|
                          "subquery_idx":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_OP_GT",
 | 
						|
                          "expr_name":">",
 | 
						|
                          "param_num":2,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":2,
 | 
						|
                          "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"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "input_type": [
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":11,
 | 
						|
                              "flag":16387
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":11,
 | 
						|
                              "flag":16387
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "rescan_param": [
 | 
						|
                     {
 | 
						|
                      "index":0,
 | 
						|
                      "expression": [
 | 
						|
                         {
 | 
						|
                          "column_index":0,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":11,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    },
 | 
						|
                     {
 | 
						|
                      "index":1,
 | 
						|
                      "expression": [
 | 
						|
                         {
 | 
						|
                          "column_index":1,
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":-1,
 | 
						|
                            "precision":11,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "onetime_filter": [
 | 
						|
                  ],
 | 
						|
                  "init_plan_idxs": [
 | 
						|
                  ],
 | 
						|
                  "one_time_idxs": [
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":2,
 | 
						|
                      "projector": [
 | 
						|
                        0,
 | 
						|
                        1
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":2,
 | 
						|
                      "projector": [
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                         [
 | 
						|
                           {
 | 
						|
                            "column_index":1,
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "param":1,
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "op": {
 | 
						|
                              "expr_type":"T_OP_GT",
 | 
						|
                              "expr_name":">",
 | 
						|
                              "param_num":2,
 | 
						|
                              "dimension":-1,
 | 
						|
                              "real_param_num":2,
 | 
						|
                              "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"
 | 
						|
                                }
 | 
						|
                              },
 | 
						|
                              "input_type": [
 | 
						|
                                 {
 | 
						|
                                  "calc_meta": {
 | 
						|
                                    "type":"INT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "length":11,
 | 
						|
                                  "flag":0
 | 
						|
                                },
 | 
						|
                                 {
 | 
						|
                                  "calc_meta": {
 | 
						|
                                    "type":"INT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "length":11,
 | 
						|
                                  "flag":0
 | 
						|
                                }
 | 
						|
                              ]
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ]
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677778,
 | 
						|
                      "index_table_id":1099511677778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677778,
 | 
						|
                                "column_id":16
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":0,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"INT",
 | 
						|
                                    "collation":"binary",
 | 
						|
                                    "coercibility":"NUMERIC"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":11,
 | 
						|
                                    "scale":0
 | 
						|
                                  },
 | 
						|
                                  "flag":16387,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "UNKNOWN":0
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":false,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16,
 | 
						|
                        17
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":248,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                           {
 | 
						|
                            "column_id":17,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0,
 | 
						|
                          1
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[37] select c1 from t1 where  (select c1 from t2)  > 1 and 1< (select 1);
 | 
						|
{
 | 
						|
  "param_num":1,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677777,
 | 
						|
      "schema_version":247,
 | 
						|
      "object_type":1
 | 
						|
    },
 | 
						|
     {
 | 
						|
      "table_id":1099511677778,
 | 
						|
      "schema_version":248,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":5,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":4,
 | 
						|
          "type":15,
 | 
						|
          "column_count":1,
 | 
						|
          "projector": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":3,
 | 
						|
              "type":14,
 | 
						|
              "column_count":1,
 | 
						|
              "projector": [
 | 
						|
                0
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_SUBPLAN_FILTER": {
 | 
						|
                  "id":2,
 | 
						|
                  "type":33,
 | 
						|
                  "column_count":1,
 | 
						|
                  "projector": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                     [
 | 
						|
                       {
 | 
						|
                        "param":0,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":1,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "rescan_param": [
 | 
						|
                  ],
 | 
						|
                  "onetime_filter": [
 | 
						|
                     {
 | 
						|
                      "index":0,
 | 
						|
                      "expression": [
 | 
						|
                         {
 | 
						|
                          "op": {
 | 
						|
                            "expr_type":"T_REF_QUERY",
 | 
						|
                            "expr_name":"ref_query",
 | 
						|
                            "param_num":0,
 | 
						|
                            "dimension":-1,
 | 
						|
                            "real_param_num":0,
 | 
						|
                            "scalar_result_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":11,
 | 
						|
                                "scale":0
 | 
						|
                              },
 | 
						|
                              "flag":16387,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "result_is_scalar":true,
 | 
						|
                            "subquery_idx":0
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "const": {
 | 
						|
                            "BIGINT":1
 | 
						|
                          },
 | 
						|
                          "accuracy": {
 | 
						|
                            "length":1,
 | 
						|
                            "precision":1,
 | 
						|
                            "scale":0
 | 
						|
                          }
 | 
						|
                        },
 | 
						|
                         {
 | 
						|
                          "op": {
 | 
						|
                            "expr_type":"T_OP_GT",
 | 
						|
                            "expr_name":">",
 | 
						|
                            "param_num":2,
 | 
						|
                            "dimension":-1,
 | 
						|
                            "real_param_num":2,
 | 
						|
                            "result_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":1,
 | 
						|
                                "scale":0
 | 
						|
                              },
 | 
						|
                              "flag":1,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"DECIMAL",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "input_type": [
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"INT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":11,
 | 
						|
                                "flag":16387
 | 
						|
                              },
 | 
						|
                               {
 | 
						|
                                "calc_meta": {
 | 
						|
                                  "type":"BIGINT",
 | 
						|
                                  "collation":"binary",
 | 
						|
                                  "coercibility":"NUMERIC"
 | 
						|
                                },
 | 
						|
                                "length":1,
 | 
						|
                                "flag":1
 | 
						|
                              }
 | 
						|
                            ]
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "init_plan_idxs": [
 | 
						|
                    0
 | 
						|
                  ],
 | 
						|
                  "one_time_idxs": [
 | 
						|
                    2
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "child_operators": [
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":0,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677777,
 | 
						|
                      "index_table_id":1099511677777,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677777,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677777,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677777,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":247,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                   {
 | 
						|
                    "PHY_TABLE_SCAN": {
 | 
						|
                      "id":1,
 | 
						|
                      "column_count":1,
 | 
						|
                      "projector": [
 | 
						|
                        0
 | 
						|
                      ],
 | 
						|
                      "filter_exprs": [
 | 
						|
                      ],
 | 
						|
                      "calc_exprs": [
 | 
						|
                      ],
 | 
						|
                      "ref_table_id":1099511677778,
 | 
						|
                      "index_table_id":1099511677778,
 | 
						|
                      "flag":1,
 | 
						|
                      "limit": [
 | 
						|
                      ],
 | 
						|
                      "offset": [
 | 
						|
                      ],
 | 
						|
                      "for_update":false,
 | 
						|
                      "wait":-1,
 | 
						|
                      "query_range": [
 | 
						|
                         {
 | 
						|
                          "in":false,
 | 
						|
                          "is_get":false,
 | 
						|
                          "is_standard":true,
 | 
						|
                          "range_graph": {
 | 
						|
                            "key_part_value": {
 | 
						|
                              "index_id": {
 | 
						|
                                "table_id":1099511677778,
 | 
						|
                                "column_id":-1
 | 
						|
                              },
 | 
						|
                              "pos": {
 | 
						|
                                "offset":-1,
 | 
						|
                                "column_type": {
 | 
						|
                                  "meta": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  },
 | 
						|
                                  "accuracy": {
 | 
						|
                                    "length":-1,
 | 
						|
                                    "precision":-1,
 | 
						|
                                    "scale":-1
 | 
						|
                                  },
 | 
						|
                                  "flag":0,
 | 
						|
                                  "calc_type": {
 | 
						|
                                    "type":"NULL",
 | 
						|
                                    "collation":"invalid_type",
 | 
						|
                                    "coercibility":"INVALID"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "enum_set_values": [
 | 
						|
                                ]
 | 
						|
                              },
 | 
						|
                              "key_type":0,
 | 
						|
                              "null_safe":false,
 | 
						|
                              "start_value": {
 | 
						|
                                "EXT":"-3"
 | 
						|
                              },
 | 
						|
                              "end_value": {
 | 
						|
                                "EXT":"-2"
 | 
						|
                              },
 | 
						|
                              "include_start":false,
 | 
						|
                              "include_end":false,
 | 
						|
                              "always_true":true,
 | 
						|
                              "always_false":false
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "is_top_table_scan":false,
 | 
						|
                      "virtual_column_exprs": [
 | 
						|
                      ],
 | 
						|
                      "table_location_key":1099511677778,
 | 
						|
                      "output_column_ids": [
 | 
						|
                        16
 | 
						|
                      ],
 | 
						|
                      "table_param": {
 | 
						|
                        "table_id":1099511677778,
 | 
						|
                        "index_id":-1,
 | 
						|
                        "schema_version":248,
 | 
						|
                        "main_table_rowkey_cnt":1,
 | 
						|
                        "index_table_rowkey_cnt":0,
 | 
						|
                        "column_array": [
 | 
						|
                           {
 | 
						|
                            "column_id":16,
 | 
						|
                            "meta_type": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":11,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "orig_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            },
 | 
						|
                            "cur_default_value": {
 | 
						|
                              "NULL":"NULL"
 | 
						|
                            }
 | 
						|
                          }
 | 
						|
                        ],
 | 
						|
                        "projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "output_projector": [
 | 
						|
                          0
 | 
						|
                        ],
 | 
						|
                        "index_column_array":null,
 | 
						|
                        "index_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_output_projector": [
 | 
						|
                        ],
 | 
						|
                        "index_back_projector": [
 | 
						|
                        ],
 | 
						|
                        "pad_col_projector": [
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "is_index_global":false
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[38] select c3 from t5 where c2 > 10;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677787,
 | 
						|
      "schema_version":257,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":3,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":2,
 | 
						|
          "type":15,
 | 
						|
          "column_count":1,
 | 
						|
          "projector": [
 | 
						|
            0
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":1,
 | 
						|
              "type":14,
 | 
						|
              "column_count":2,
 | 
						|
              "projector": [
 | 
						|
                1
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_TABLE_SCAN": {
 | 
						|
                  "id":0,
 | 
						|
                  "column_count":2,
 | 
						|
                  "projector": [
 | 
						|
                    1
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                     [
 | 
						|
                       {
 | 
						|
                        "column_index":0,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "const": {
 | 
						|
                          "BIGINT":10
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":2,
 | 
						|
                          "precision":2,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_OP_GT",
 | 
						|
                          "expr_name":">",
 | 
						|
                          "param_num":2,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":2,
 | 
						|
                          "result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":0,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"DECIMAL",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "input_type": [
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":11,
 | 
						|
                              "flag":0
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"BIGINT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":2,
 | 
						|
                              "flag":1
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "ref_table_id":1099511677787,
 | 
						|
                  "index_table_id":1099511677787,
 | 
						|
                  "flag":1,
 | 
						|
                  "limit": [
 | 
						|
                  ],
 | 
						|
                  "offset": [
 | 
						|
                  ],
 | 
						|
                  "for_update":false,
 | 
						|
                  "wait":-1,
 | 
						|
                  "query_range": [
 | 
						|
                     {
 | 
						|
                      "in":false,
 | 
						|
                      "is_get":false,
 | 
						|
                      "is_standard":true,
 | 
						|
                      "range_graph": {
 | 
						|
                        "key_part_value": {
 | 
						|
                          "index_id": {
 | 
						|
                            "table_id":1099511677787,
 | 
						|
                            "column_id":-1
 | 
						|
                          },
 | 
						|
                          "pos": {
 | 
						|
                            "offset":-1,
 | 
						|
                            "column_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              },
 | 
						|
                              "flag":0,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "enum_set_values": [
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "key_type":0,
 | 
						|
                          "null_safe":false,
 | 
						|
                          "start_value": {
 | 
						|
                            "EXT":"-3"
 | 
						|
                          },
 | 
						|
                          "end_value": {
 | 
						|
                            "EXT":"-2"
 | 
						|
                          },
 | 
						|
                          "include_start":false,
 | 
						|
                          "include_end":false,
 | 
						|
                          "always_true":true,
 | 
						|
                          "always_false":false
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "is_top_table_scan":true,
 | 
						|
                  "virtual_column_exprs": [
 | 
						|
                  ],
 | 
						|
                  "table_location_key":1099511677787,
 | 
						|
                  "output_column_ids": [
 | 
						|
                    17,
 | 
						|
                    18
 | 
						|
                  ],
 | 
						|
                  "table_param": {
 | 
						|
                    "table_id":1099511677787,
 | 
						|
                    "index_id":-1,
 | 
						|
                    "schema_version":257,
 | 
						|
                    "main_table_rowkey_cnt":1,
 | 
						|
                    "index_table_rowkey_cnt":0,
 | 
						|
                    "column_array": [
 | 
						|
                       {
 | 
						|
                        "column_id":16,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "column_id":17,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "column_id":18,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ],
 | 
						|
                    "projector": [
 | 
						|
                      0,
 | 
						|
                      1,
 | 
						|
                      2
 | 
						|
                    ],
 | 
						|
                    "output_projector": [
 | 
						|
                      1,
 | 
						|
                      2
 | 
						|
                    ],
 | 
						|
                    "index_column_array":null,
 | 
						|
                    "index_projector": [
 | 
						|
                    ],
 | 
						|
                    "index_output_projector": [
 | 
						|
                    ],
 | 
						|
                    "index_back_projector": [
 | 
						|
                    ],
 | 
						|
                    "pad_col_projector": [
 | 
						|
                    ]
 | 
						|
                  },
 | 
						|
                  "is_index_global":false
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 | 
						|
[39] select c3,c4 from t5 where c2 > 10;
 | 
						|
{
 | 
						|
  "param_num":0,
 | 
						|
  "table_schema_version": [
 | 
						|
     {
 | 
						|
      "table_id":1099511677787,
 | 
						|
      "schema_version":257,
 | 
						|
      "object_type":1
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "pre_calc_exprs": [
 | 
						|
  ],
 | 
						|
  "plan_type":2,
 | 
						|
  "location_type":2,
 | 
						|
  "main_query": {
 | 
						|
    "PHY_ROOT_TRANSMIT": {
 | 
						|
      "id":3,
 | 
						|
      "type":13,
 | 
						|
      "column_count":0,
 | 
						|
      "projector":null,
 | 
						|
      "filter_exprs": [
 | 
						|
      ],
 | 
						|
      "calc_exprs": [
 | 
						|
      ],
 | 
						|
      "repartition_type":0,
 | 
						|
      "repartition_table_id":-1,
 | 
						|
      "px_dop":0,
 | 
						|
      "px_single":false,
 | 
						|
      "dist_method":8
 | 
						|
    },
 | 
						|
    "child_operators": [
 | 
						|
       {
 | 
						|
        "PHY_DIRECT_RECEIVE": {
 | 
						|
          "id":2,
 | 
						|
          "type":15,
 | 
						|
          "column_count":2,
 | 
						|
          "projector": [
 | 
						|
            0,
 | 
						|
            1
 | 
						|
          ],
 | 
						|
          "filter_exprs": [
 | 
						|
          ],
 | 
						|
          "calc_exprs": [
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "child_operators": [
 | 
						|
           {
 | 
						|
            "PHY_DIRECT_TRANSMIT": {
 | 
						|
              "id":1,
 | 
						|
              "type":14,
 | 
						|
              "column_count":3,
 | 
						|
              "projector": [
 | 
						|
                1,
 | 
						|
                2
 | 
						|
              ],
 | 
						|
              "filter_exprs": [
 | 
						|
              ],
 | 
						|
              "calc_exprs": [
 | 
						|
              ],
 | 
						|
              "repartition_type":0,
 | 
						|
              "repartition_table_id":-1,
 | 
						|
              "px_dop":0,
 | 
						|
              "px_single":false,
 | 
						|
              "dist_method":8
 | 
						|
            },
 | 
						|
            "child_operators": [
 | 
						|
               {
 | 
						|
                "PHY_TABLE_SCAN": {
 | 
						|
                  "id":0,
 | 
						|
                  "column_count":3,
 | 
						|
                  "projector": [
 | 
						|
                    1,
 | 
						|
                    2
 | 
						|
                  ],
 | 
						|
                  "filter_exprs": [
 | 
						|
                     [
 | 
						|
                       {
 | 
						|
                        "column_index":0,
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "const": {
 | 
						|
                          "BIGINT":10
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":2,
 | 
						|
                          "precision":2,
 | 
						|
                          "scale":0
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "op": {
 | 
						|
                          "expr_type":"T_OP_GT",
 | 
						|
                          "expr_name":">",
 | 
						|
                          "param_num":2,
 | 
						|
                          "dimension":-1,
 | 
						|
                          "real_param_num":2,
 | 
						|
                          "result_type": {
 | 
						|
                            "meta": {
 | 
						|
                              "type":"INT",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            },
 | 
						|
                            "accuracy": {
 | 
						|
                              "length":-1,
 | 
						|
                              "precision":1,
 | 
						|
                              "scale":0
 | 
						|
                            },
 | 
						|
                            "flag":0,
 | 
						|
                            "calc_type": {
 | 
						|
                              "type":"DECIMAL",
 | 
						|
                              "collation":"binary",
 | 
						|
                              "coercibility":"NUMERIC"
 | 
						|
                            }
 | 
						|
                          },
 | 
						|
                          "input_type": [
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"INT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":11,
 | 
						|
                              "flag":0
 | 
						|
                            },
 | 
						|
                             {
 | 
						|
                              "calc_meta": {
 | 
						|
                                "type":"BIGINT",
 | 
						|
                                "collation":"binary",
 | 
						|
                                "coercibility":"NUMERIC"
 | 
						|
                              },
 | 
						|
                              "length":2,
 | 
						|
                              "flag":1
 | 
						|
                            }
 | 
						|
                          ]
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ]
 | 
						|
                  ],
 | 
						|
                  "calc_exprs": [
 | 
						|
                  ],
 | 
						|
                  "ref_table_id":1099511677787,
 | 
						|
                  "index_table_id":1099511677787,
 | 
						|
                  "flag":1,
 | 
						|
                  "limit": [
 | 
						|
                  ],
 | 
						|
                  "offset": [
 | 
						|
                  ],
 | 
						|
                  "for_update":false,
 | 
						|
                  "wait":-1,
 | 
						|
                  "query_range": [
 | 
						|
                     {
 | 
						|
                      "in":false,
 | 
						|
                      "is_get":false,
 | 
						|
                      "is_standard":true,
 | 
						|
                      "range_graph": {
 | 
						|
                        "key_part_value": {
 | 
						|
                          "index_id": {
 | 
						|
                            "table_id":1099511677787,
 | 
						|
                            "column_id":-1
 | 
						|
                          },
 | 
						|
                          "pos": {
 | 
						|
                            "offset":-1,
 | 
						|
                            "column_type": {
 | 
						|
                              "meta": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              },
 | 
						|
                              "accuracy": {
 | 
						|
                                "length":-1,
 | 
						|
                                "precision":-1,
 | 
						|
                                "scale":-1
 | 
						|
                              },
 | 
						|
                              "flag":0,
 | 
						|
                              "calc_type": {
 | 
						|
                                "type":"NULL",
 | 
						|
                                "collation":"invalid_type",
 | 
						|
                                "coercibility":"INVALID"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            "enum_set_values": [
 | 
						|
                            ]
 | 
						|
                          },
 | 
						|
                          "key_type":0,
 | 
						|
                          "null_safe":false,
 | 
						|
                          "start_value": {
 | 
						|
                            "EXT":"-3"
 | 
						|
                          },
 | 
						|
                          "end_value": {
 | 
						|
                            "EXT":"-2"
 | 
						|
                          },
 | 
						|
                          "include_start":false,
 | 
						|
                          "include_end":false,
 | 
						|
                          "always_true":true,
 | 
						|
                          "always_false":false
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "is_top_table_scan":true,
 | 
						|
                  "virtual_column_exprs": [
 | 
						|
                  ],
 | 
						|
                  "table_location_key":1099511677787,
 | 
						|
                  "output_column_ids": [
 | 
						|
                    17,
 | 
						|
                    18,
 | 
						|
                    19
 | 
						|
                  ],
 | 
						|
                  "table_param": {
 | 
						|
                    "table_id":1099511677787,
 | 
						|
                    "index_id":-1,
 | 
						|
                    "schema_version":257,
 | 
						|
                    "main_table_rowkey_cnt":1,
 | 
						|
                    "index_table_rowkey_cnt":0,
 | 
						|
                    "column_array": [
 | 
						|
                       {
 | 
						|
                        "column_id":16,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "column_id":17,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "column_id":18,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      },
 | 
						|
                       {
 | 
						|
                        "column_id":19,
 | 
						|
                        "meta_type": {
 | 
						|
                          "type":"INT",
 | 
						|
                          "collation":"binary",
 | 
						|
                          "coercibility":"NUMERIC"
 | 
						|
                        },
 | 
						|
                        "accuracy": {
 | 
						|
                          "length":-1,
 | 
						|
                          "precision":11,
 | 
						|
                          "scale":0
 | 
						|
                        },
 | 
						|
                        "orig_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        },
 | 
						|
                        "cur_default_value": {
 | 
						|
                          "NULL":"NULL"
 | 
						|
                        }
 | 
						|
                      }
 | 
						|
                    ],
 | 
						|
                    "projector": [
 | 
						|
                      0,
 | 
						|
                      1,
 | 
						|
                      2,
 | 
						|
                      3
 | 
						|
                    ],
 | 
						|
                    "output_projector": [
 | 
						|
                      1,
 | 
						|
                      2,
 | 
						|
                      3
 | 
						|
                    ],
 | 
						|
                    "index_column_array":null,
 | 
						|
                    "index_projector": [
 | 
						|
                    ],
 | 
						|
                    "index_output_projector": [
 | 
						|
                    ],
 | 
						|
                    "index_back_projector": [
 | 
						|
                    ],
 | 
						|
                    "pad_col_projector": [
 | 
						|
                    ]
 | 
						|
                  },
 | 
						|
                  "is_index_global":false
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  }
 | 
						|
}
 |