feiniaofeiafei
4e4f3d204e
[feat](Nereids) push down predicates with multi columns through LogicalWindow and LogicalPartitionTopN ( #36828 ) ( #36981 )
...
cherry-pick #36828 to branch-2.1
The requirement for predicate pushdown through the window operator is
that the partition by slots of the window contains all slots in the
predicate. The original implementation of doris only allows predicate
pushdown with one slot. This PR relaxes this restriction and allows for
predicate pushdown with multiple slots. The same applies to the
predicate pushdown of the LogicalPartitionTopN operator. The following
sql is an example.
select
*
from
(
select
row_number() over(partition by id, value1 order by value1) as num,
id,
value1
from
push_down_multi_column_predicate_through_window_t ) t
where
abs(id + value1)<4
and num <= 2;
Co-authored-by: feiniaofeiafei <moailing@selectdb.com >
2024-07-04 21:00:08 +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-07-02 15:22:04 +08:00
2024-07-04 13:56:05 +08:00
2024-05-10 22:02:32 +08:00
2024-06-11 11:13:34 +08:00
2024-07-02 11:15:50 +08:00
2023-10-27 10:27:22 +08:00
2024-07-04 13:56:05 +08:00
2024-06-20 17:46:11 +08:00
2024-07-03 15:08:08 +08:00
2023-11-13 10:07:10 +08:00
2024-05-28 18:12:42 +08:00
2024-07-04 13:56:05 +08:00
2024-07-04 13:56:05 +08:00
2024-07-04 20:09:59 +08:00
2024-07-04 20:09:59 +08:00
2024-06-20 08:43:16 +08:00
2023-12-14 17:06:17 +08:00
2024-03-21 14:07:49 +08:00
2024-06-20 17:46:11 +08:00
2024-04-11 17:12:17 +08:00
2024-04-11 17:12:17 +08:00
2024-07-04 13:56:05 +08:00
2024-03-21 14:07:24 +08:00
2024-06-21 22:01:39 +08:00
2023-12-05 12:54:40 +08:00
2024-06-06 09:54:14 +08:00
2024-06-06 22:54:24 +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-07-04 13:56:05 +08:00
2023-12-03 09:56:47 +08:00
2024-06-28 18:38:33 +08:00
2024-01-16 18:37:06 +08:00
2024-07-04 19:18:35 +08:00
2024-05-28 13:17:33 +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-06-21 23:42:45 +08:00
2024-06-19 14:47:55 +08:00
2024-06-19 14:47:55 +08:00
2024-07-03 15:08:08 +08:00
2024-07-04 21:00:08 +08:00
2024-05-31 10:53:12 +08:00
2024-06-11 20:40:18 +08:00
2024-07-04 09:42:11 +08:00
2024-07-04 09:42:11 +08:00
2024-05-28 17:54:13 +08:00
2024-07-04 09:42:11 +08:00
2024-04-17 23:42:11 +08:00
2024-06-20 17:51:18 +08:00
2024-05-24 16:25:00 +08:00
2024-01-08 10:46:27 +08:00
2024-04-19 23:41:46 +08:00
2024-06-19 14:06:53 +08:00
2023-11-13 10:06:43 +08:00
2024-07-01 23:11:13 +08:00
2024-07-04 13:56:05 +08:00
2024-05-21 12:54:25 +08:00
2023-11-14 10:49:21 +08:00
2024-01-12 11:46:29 +08:00
2024-07-03 22:42:51 +08:00
2024-07-03 22:42:51 +08:00
2024-02-23 23:10:36 +08:00
2024-06-07 15:29:10 +08:00
2024-05-28 13:12:03 +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
2024-05-29 09:57:31 +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-07-04 13:56:05 +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-06-28 18:41:40 +08:00
2023-12-15 10:52:50 +08:00
2024-06-07 15:29:10 +08:00
2024-05-20 20:36:29 +08:00