Fix empty select exprs for the view created from from item.

This commit is contained in:
jz0
2021-08-23 13:46:10 +08:00
committed by wangzelin.wzl
parent 91c4879c3c
commit ed29cc159d
2 changed files with 53 additions and 0 deletions

View File

@ -38178,6 +38178,54 @@ SQL: select t1.c1 from t1, (select c2 from t1 where 1 = any(select t3.c2 from t3
}
],
"select": [
{
"expression": {
"item_type":"T_INT",
"result_type": {
"meta": {
"type":"BIGINT",
"collation":"binary",
"coercibility":"NUMERIC"
},
"accuracy": {
"length":-1,
"precision":-1,
"scale":-1
},
"flag":1,
"calc_type": {
"type":"NULL",
"collation":"invalid_type",
"coercibility":"INVALID"
}
},
"expr_info": [
"IS_CONST",
"CNT_CONST"
],
"rel_id": [
],
"value": {
"BIGINT":1
}
},
"is_alias":false,
"alias_name":"1",
"expr_name":"1",
"default": {
"NULL":"NULL"
},
"paramed_alias_name":"",
"questions_pos": [
],
"params_idx": [
],
"esc_str_flag":false,
"need_check_dup_name":false,
"implicit_filled":false,
"is_unpivot_mocked_column":false,
"is_hidden_rowid":false
}
],
"distinct":false,
"rollup":false,