14296ee87f
[fix](window_function) wrong order by range ( #23346 )
2023-08-23 11:23:00 +08:00
f1b949ad59
[fix](Nereids) local sort should not translate to unpartitioned partition ( #20031 )
...
1. local sort should not update current fragment partition to UNPARTITIONED
2. should set input fragment dest exchange node after create dest fragment
2023-05-26 10:18:56 +08:00
24de75757d
[fix](Nereids) drop table before create table in window function test ( #19857 )
2023-05-19 16:44:13 +08:00
bee2e2964f
[refactor](Nereids) refactor adjust nullable rule as a custom rewriter ( #19702 )
...
use custom rewriter to do adjust nullable to avoid nullable changed in expression but not changed in output
2023-05-17 19:24:42 +08:00
5f2b68df24
[fix](regression-test) fix unstable regression test cases found in p0 ( #17900 )
2023-03-19 10:11:57 +08:00
fd8adb492d
[fix](nereids) fix bugs in nereids window function ( #17284 )
...
fix two problems:
1. push agg-fun in windowExpression down to AggregateNode
for example, sql:
select sum(sum(a)) over (order by b)
Plan:
windowExpression( sum(y) over (order by b))
+--- Agg(sum(a) as y, b)
2. push other expr to upper proj
for example, sql:
select sum(a+1) over ()
Plan:
windowExpression(sum(y) over ())
+--- Project(a + 1 as y,...)
+--- Agg(a,...)
2023-03-07 16:35:37 +08:00
c53b6a9532
[fix](Nereids) fix nullable() of lead/lag ( #17014 )
...
fix bug when we use NULL as default value for window function lead() and lag()
2023-02-24 21:27:44 +08:00
77a3288ce7
[feature](Nereids) support window function ( #14397 )
2023-02-13 21:20:56 +08:00