Uh oh!
There was an error while loading. Please reload this page.
[enhance](function) add a lambda functor version for array_sort - #57828
Conversation
Thearas
commented
Nov 8, 2025
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
wumeibanfa
commented
Nov 8, 2025
run buildall |
wumeibanfa
commented
Nov 8, 2025
run buildall |
wumeibanfa
commented
Nov 8, 2025
run buildall |
wumeibanfa
commented
Nov 8, 2025
run buildall |
doris-robot
commented
Nov 8, 2025
TPC-H: Total hot run time: 34373 ms |
doris-robot
commented
Nov 8, 2025
TPC-DS: Total hot run time: 187961 ms |
doris-robot
commented
Nov 8, 2025
ClickBench: Total hot run time: 27.54 s |
doris-robot
commented
Nov 8, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
wumeibanfa
commented
Nov 8, 2025
run compile |
hello-stephen
commented
Nov 8, 2025
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Nov 8, 2025
FE Regression Coverage ReportIncrement line coverage |
hello-stephen
commented
Nov 8, 2025
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Nov 8, 2025
FE Regression Coverage ReportIncrement line coverage |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
wumeibanfa
commented
Nov 25, 2025
run buildall |
doris-robot
commented
Nov 25, 2025
TPC-H: Total hot run time: 34427 ms |
doris-robot
commented
Nov 25, 2025
TPC-DS: Total hot run time: 184203 ms |
doris-robot
commented
Nov 25, 2025
ClickBench: Total hot run time: 27.43 s |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
hello-stephen
commented
Nov 25, 2025
FE UT Coverage ReportIncrement line coverage |
hello-stephen
commented
Nov 25, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Nov 25, 2025
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Nov 25, 2025
FE Regression Coverage ReportIncrement line coverage |
wumeibanfa
commented
Nov 26, 2025
run p0 |
hello-stephen
commented
Nov 26, 2025
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Nov 26, 2025
FE Regression Coverage ReportIncrement line coverage |
Uh oh!
There was an error while loading. Please reload this page.
…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"] | +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ```
…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"] | +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ```
…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"] | +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ```
…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"] | +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ```
What problem does this PR solve?
add a lambda functor version for array_sort
Issue Number: #48203
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)