Uh oh!
There was an error while loading. Please reload this page.
[enhance](function) add a lambda functor version for array_sort (#57828) - #62830
Conversation
Thearas
commented
Apr 24, 2026
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
csun5285
commented
Apr 24, 2026
run buildall |
hello-stephen
commented
Apr 24, 2026
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Apr 24, 2026
FE Regression Coverage ReportIncrement line coverage |
9485252 to
687bf53Compareyiguolei
commented
Apr 24, 2026
run buildall |
…he#57828) add a lambda functor version for array_sort Issue Number: apache#48203 Problem Summary: ```text +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | array_sort((x, y) -> CASE WHEN x IS NULL THEN -1 WHEN y IS NULL THEN 1 WHEN x < y THEN 1 WHEN x = y THEN 0 ELSE -1 END, [3, 2, null, 5, null, 1, 2]) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | [null, null, 5, 3, 2, 2, 1] | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | array_sort((x, y) -> IF(length(x) < length(y), -1, IF(length(x) = length(y), 0, 1)), ['a', 'abcd', 'abc']) | +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | ["a", "abc", "abcd"] | +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ```
morningman
commented
Apr 24, 2026
run buildall |
687bf53 to
00c07dfComparehello-stephen
commented
Apr 24, 2026
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Apr 24, 2026
FE UT Coverage ReportIncrement line coverage |
hello-stephen
commented
Apr 24, 2026
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Apr 24, 2026
FE Regression Coverage ReportIncrement line coverage |
yiguolei
commented
Apr 25, 2026
skip buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
Uh oh!
There was an error while loading. Please reload this page.
pick from master #57828