LiBinfeng
be50139eb1
[Fix](Nereids) fix leading with cte and same subqueryalias name ( #34838 ) ( #35047 )
...
fix leading with cte and same subqueryalias name
Example:
with tbl1 as select t1.c1 from t1
select tbl2.c2 from (select / * + leading(t2 tbl1) * / tbl1.c1, t2.c2 from tbl1 join t2) as tbl2 join t3;
Reason:
in this case, before getting analyzed preprocess would change subquery tbl2 to cte plan, and this cte plan should be in upper level cte plan, but not in logical result sink plan
2024-05-20 10:44:22 +08:00
..
2024-04-22 13:52:36 +08:00
2024-01-07 00:03:22 +08:00
2024-05-10 22:02:32 +08:00
2024-02-21 13:53:18 +08:00
2024-04-25 12:01:44 +08:00
2024-05-18 18:37:41 +08:00
2024-03-21 14:07:22 +08:00
2024-05-10 22:02:32 +08:00
2024-05-18 18:40:56 +08:00
2024-04-10 16:21:31 +08:00
2023-10-27 10:27:22 +08:00
2024-05-18 18:40:17 +08:00
2024-05-10 22:02:32 +08:00
2023-12-27 12:59:15 +08:00
2023-11-13 10:07:10 +08:00
2024-01-05 11:55:37 +08:00
2023-11-01 23:48:55 +08:00
2024-05-13 22:12:46 +08:00
2023-09-08 10:20:18 +08:00
2024-05-18 18:42:43 +08:00
2024-05-15 11:37:25 +08:00
2024-04-17 23:42:14 +08:00
2023-12-14 17:06:17 +08:00
2024-03-21 14:07:49 +08:00
2024-02-23 23:10:36 +08:00
2024-04-11 17:12:17 +08:00
2024-04-11 17:12:17 +08:00
2024-05-11 11:47:49 +08:00
2024-03-21 14:07:24 +08:00
2024-05-10 14:35:47 +08:00
2023-12-05 12:54:40 +08:00
2024-05-18 18:07:39 +08:00
2024-05-18 18:40:17 +08:00
2024-05-18 18:40:17 +08:00
2023-11-10 14:55:26 +08:00
2024-05-11 11:01:18 +08:00
2023-12-03 09:56:47 +08:00
2024-01-16 18:37:06 +08:00
2024-05-18 18:14:48 +08:00
2024-05-10 22:11:01 +08:00
2024-03-21 14:07:49 +08:00
2024-04-10 16:22:39 +08:00
2024-03-22 16:35:47 +08:00
2024-05-18 18:40:17 +08:00
2024-05-20 10:28:22 +08:00
2024-05-20 10:40:10 +08:00
2024-05-20 10:44:22 +08:00
2024-05-15 12:38:40 +08:00
2024-05-10 22:14:00 +08:00
2024-04-20 20:08:00 +08:00
2024-05-13 22:15:16 +08:00
2024-05-13 22:15:16 +08:00
2024-03-21 14:07:24 +08:00
2024-05-11 09:44:24 +08:00
2024-04-17 23:42:11 +08:00
2024-05-10 22:11:01 +08:00
2024-01-08 10:46:27 +08:00
2024-04-19 23:41:46 +08:00
2024-05-15 19:01:18 +08:00
2023-11-13 10:06:43 +08:00
2024-05-10 22:10:11 +08:00
2024-05-18 18:40:16 +08:00
2023-11-14 10:49:21 +08:00
2024-01-12 11:46:29 +08:00
2023-11-13 21:39:28 +08:00
2024-05-10 14:48:52 +08:00
2023-09-15 10:39:07 +08:00
2024-02-23 23:10:36 +08:00
2024-04-17 23:42:00 +08:00
2023-12-01 15:32:23 +08:00
2023-10-08 10:46:43 +08:00
2024-02-16 10:12:23 +08:00
2023-12-21 18:08:23 +08:00
2023-12-05 12:54:40 +08:00
2023-12-22 14:50:11 +08:00
2023-12-05 12:54:40 +08:00
2023-12-05 12:54:40 +08:00
2024-04-12 15:09:25 +08:00
2023-12-05 12:54:40 +08:00
2023-12-05 12:54:40 +08:00
2023-12-05 12:54:40 +08:00
2023-12-28 14:54:09 +08:00
2023-12-05 12:54:40 +08:00
2023-10-26 17:33:28 +08:00
2023-12-14 19:35:52 +08:00
2024-05-07 07:53:25 +08:00
2023-11-24 16:37:30 +08:00
2024-03-09 19:45:42 +08:00
2024-04-19 15:02:21 +08:00
2024-03-29 17:25:26 +08:00
2024-03-26 20:19:36 +08:00
2024-05-18 18:40:17 +08:00
2023-12-15 10:52:50 +08:00
2024-04-19 15:02:49 +08:00
2024-05-17 17:34:08 +08:00