[fix](function) fix bug that array_max&min( array<Complex Type> ) function.#23718
[fix](function) fix bug that array_max&min( array<Complex Type> ) function.#23718hubgeter wants to merge 1 commit intoapache:masterfrom
Conversation
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
b9c3331 to
f26e7f8
Compare
|
run buildall |
| UnaryExpression, AlwaysNullable { | ||
|
|
||
| public static final List<FunctionSignature> SIGNATURES = ImmutableList.of( | ||
| FunctionSignature.ret(new FollowToAnyDataType(0)).args(ArrayType.of(new AnyDataType(0))) |
There was a problem hiding this comment.
Looks like this is a generated class, so I think we can not modify it directly?
/**
* ScalarFunction 'array_max'. This class is generated by GenerateFunction.
*/
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
Proposed changes
Fix the bug that causes be to hang when col in array_max(col) and array_min(col) functions is array.
example :
col : array<array<map<int,boolean>>>
All the correct cases are covered in the regression-test/suites/nereids_function_p0/scalar_function folder .
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...