[CP] [CP] [CP] fix aggr convert lost origin result type

This commit is contained in:
wangt1xiuyi
2022-06-25 19:11:32 +08:00
committed by wangzelin.wzl
parent f4df995acd
commit 5af4cb27dc
5 changed files with 77 additions and 65 deletions

View File

@ -19819,7 +19819,7 @@ SQL: select avg(1) from t1;
Outputs & filters:
-------------------------------------
0 - output([T_FUN_SUM(T_FUN_SUM(?)) / T_FUN_COUNT_SUM(T_FUN_COUNT(?))]), filter(nil),
0 - output([cast(T_FUN_SUM(T_FUN_SUM(?)) / T_FUN_COUNT_SUM(T_FUN_COUNT(?)), DECIMAL(5, 4))]), filter(nil),
group(nil), agg_func([T_FUN_SUM(T_FUN_SUM(?))], [T_FUN_COUNT_SUM(T_FUN_COUNT(?))])
1 - output([T_FUN_SUM(?)], [T_FUN_COUNT(?)]), filter(nil)
2 - output([T_FUN_SUM(?)], [T_FUN_COUNT(?)]), filter(nil), dop=1