Repository navigation
[Enhancement] lead/lag/first_value/last_value support array type - #63547
Merged
Merged
Conversation
satanson
force-pushed
the
lead_lag_array_type
branch
2 times, most recently
from
September 25, 2025 11:34
d2f9479 to
2cb4427
Compare
Contributor
Author
|
@Mergifyio rebase |
Contributor
✅ Branch has been successfully rebased |
satanson
force-pushed
the
lead_lag_array_type
branch
from
September 26, 2025 08:56
2cb4427 to
85baf0f
Compare
Contributor
Author
|
@Mergifyio rebase |
satanson
force-pushed
the
lead_lag_array_type
branch
from
September 29, 2025 02:00
85baf0f to
343b0de
Compare
Contributor
✅ Branch has been successfully rebased |
satanson
force-pushed
the
lead_lag_array_type
branch
2 times, most recently
from
September 30, 2025 06:17
b099130 to
33b2c26
Compare
kangkaisen
previously approved these changes
Oct 9, 2025
ZiheLiu
previously approved these changes
Oct 9, 2025
silverbullet233
previously approved these changes
Oct 9, 2025
Contributor
|
@cursor review |
satanson
dismissed stale reviews from silverbullet233, ZiheLiu, and kangkaisen
via
October 10, 2025 08:15
8ae09d0
satanson
force-pushed
the
lead_lag_array_type
branch
from
October 10, 2025 08:15
33b2c26 to
8ae09d0
Compare
Signed-off-by: satanson <ranpanf@gmail.com>
satanson
force-pushed
the
lead_lag_array_type
branch
from
October 10, 2025 09:01
8ae09d0 to
e25a572
Compare
|
Contributor
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
Contributor
[FE Incremental Coverage Report]✅ pass : 10 / 10 (100.00%) file detail
|
Contributor
[BE Incremental Coverage Report]❌ fail : 1 / 24 (04.17%) file detail
|
silverbullet233
approved these changes
Oct 11, 2025
ZiheLiu
approved these changes
Oct 11, 2025
HangyuanLiu
approved these changes
Oct 11, 2025
Contributor
Author
|
@Mergifyio backport branch-3.5 |
Contributor
✅ Backports have been createdDetails
|
Contributor
Author
|
@Mergifyio backport branch-4.0 |
Contributor
✅ Backports have been createdDetails
|
mergify Bot
pushed a commit
that referenced
this pull request
Oct 15, 2025
) Signed-off-by: satanson <ranpanf@gmail.com> (cherry picked from commit 78945fd) # Conflicts: # be/src/exprs/agg/factory/aggregate_resolver.hpp # fe/fe-core/src/main/java/com/starrocks/catalog/FunctionSet.java # fe/fe-core/src/test/java/com/starrocks/sql/plan/LowCardinalityArrayTest.java
5 of 23 tasks
mergify Bot
pushed a commit
that referenced
this pull request
Oct 15, 2025
) Signed-off-by: satanson <ranpanf@gmail.com> (cherry picked from commit 78945fd)
5 of 23 tasks
satanson
added a commit
that referenced
this pull request
Oct 15, 2025
) Signed-off-by: satanson <ranpanf@gmail.com> (cherry picked from commit 78945fd)
5 of 23 tasks
satanson
added a commit
that referenced
this pull request
Oct 16, 2025
) Signed-off-by: satanson <ranpanf@gmail.com> (cherry picked from commit 78945fd) Signed-off-by: satanson <ranpanf@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Why I'm doing:
Window functions last_value/first_value/lead/lag accept array type as argument.
What I'm doing:
Fixes #issue
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check:
Note
Add array-type support to window functions (lead/lag/first_value/last_value) across BE/FE, including low-cardinality integration and comprehensive tests.
TYPE_ARRAYin resolver and dispatch; add array handling inAggDataTypeTraits,ValueWindowStrategy, and default value parsing forlead/lag.first_value/last_value/lead/laginFunctionSet; extend low-cardinality rewrite (DecodeContext) to handle array args and window functions.Written by Cursor Bugbot for commit 33b2c26. This will update automatically on new commits. Configure here.