starocean999
479d57df88
[fix](planner) the project expr should be calculated in join node in some case ( #17035 )
...
Consider the sql bellow:
select sum(cc.qlnm) as qlnm
FROM
outerjoin_A
left join (SELECT
outerjoin_B.b,
coalesce(outerjoin_C.c, 0) AS qlnm
FROM
outerjoin_B
inner JOIN outerjoin_C ON outerjoin_B.b = outerjoin_C.c
) cc on outerjoin_A.a = cc.b
group by outerjoin_A.a;
The coalesce(outerjoin_C.c, 0) was calculated in the agg node, which is wrong.
This pr correct this, and the expr is calculated in the inner join node now.
2023-02-24 15:20:05 +08:00
..
2022-12-30 10:01:25 +08:00
2022-11-22 10:29:59 +08:00
2022-08-02 11:23:01 +08:00
2022-08-02 11:23:01 +08:00
2022-08-02 11:23:01 +08:00
2022-08-02 11:23:01 +08:00
2022-08-02 11:23:01 +08:00
2023-01-29 22:50:39 +08:00
2022-09-07 09:10:42 +08:00
2022-08-02 11:23:01 +08:00
2022-08-19 10:57:55 +08:00
2022-08-23 16:07:48 +08:00
2022-08-19 09:13:29 +08:00
2022-10-24 16:32:36 +08:00
2023-01-31 23:46:31 +08:00
2022-11-10 11:10:42 +08:00
2022-10-31 10:19:32 +08:00
2022-09-01 09:46:01 +08:00
2022-08-26 12:15:51 +08:00
2022-11-02 22:30:43 +08:00
2022-12-16 17:08:29 +08:00
2022-08-02 11:23:01 +08:00
2023-02-08 14:26:35 +08:00
2022-10-11 15:38:55 +08:00
2022-12-23 18:59:08 +08:00
2022-08-24 14:20:18 +08:00
2022-09-20 09:29:44 +08:00
2023-01-06 09:55:48 +08:00
2022-10-13 09:12:02 +08:00
2022-10-18 22:09:02 +08:00
2022-11-02 08:52:49 +08:00
2022-09-01 18:52:10 +08:00
2023-02-24 15:20:05 +08:00
2022-10-27 10:48:36 +08:00
2022-09-20 09:29:15 +08:00
2023-02-14 00:11:56 +08:00
2022-10-11 15:52:00 +08:00
2022-09-07 09:10:42 +08:00
2023-01-19 14:14:48 +08:00
2022-09-07 09:10:42 +08:00
2022-11-18 19:36:14 +08:00
2022-12-16 17:08:29 +08:00
2022-12-01 15:18:40 +08:00
2022-09-07 09:10:42 +08:00
2023-02-04 23:08:59 +08:00
2022-10-14 12:45:04 +08:00
2022-09-07 09:10:42 +08:00
2022-08-02 11:23:01 +08:00
2022-11-07 14:13:05 +08:00
2022-09-13 11:28:27 +08:00
2023-01-21 08:06:49 +08:00
2022-11-30 10:41:32 +08:00
2022-12-06 14:32:35 +08:00
2022-12-16 17:08:29 +08:00
2023-02-04 23:14:25 +08:00
2022-11-23 09:57:03 +08:00
2022-12-23 10:27:49 +08:00
2022-12-24 15:27:43 +08:00