Repository navigation
[fix](function) make STRLEFT and STRRIGHT and SUBSTR function DEPEND_ON_ARGUMENT - #28352
Conversation
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
zclllyybb
left a comment
There was a problem hiding this comment.
and we need more regression-test
| } | ||
|
|
||
| // is_nullable for judgement resule is or not nullable | ||
| mutable bool is_nullable; |
There was a problem hiding this comment.
do not use this. in exec_impl we can judge the nullability independent via Column
| * withChildren. | ||
| */ | ||
| @Override | ||
| public boolean nullable() { |
There was a problem hiding this comment.
please use PropagateNullable to provide this attribute
|
run buildall |
| temp_arguments[2] = arguments[1]; | ||
| SubstringUtil::substring_execute(block, temp_arguments, result, input_rows_count); | ||
|
|
||
| bool is_nullable {}; |
There was a problem hiding this comment.
it will be more clear if change to
| bool is_nullable {}; | |
| bool is_nullable = nullptr; |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
TPC-H: Total hot run time: 38449 ms |
TPC-DS: Total hot run time: 186248 ms |
ClickBench: Total hot run time: 30.27 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
TeamCity be ut coverage result: |
|
run p0 |
|
run pipelinex_p0 |
|
run buildall |
TPC-H: Total hot run time: 39010 ms |
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 187035 ms |
ClickBench: Total hot run time: 31.3 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
run p0 |
|
run pipelinex_p0 |
|
PR approved by at least one committer and no changes requested. |
…ON_ARGUMENT (#28352) make STRLEFT and STRRIGHT function DEPEND_ON_ARGUMENT
…ON_ARGUMENT (apache#28352) make STRLEFT and STRRIGHT function DEPEND_ON_ARGUMENT
…ON_ARGUMENT (apache#28352) make STRLEFT and STRRIGHT function DEPEND_ON_ARGUMENT
Proposed changes
Issue Number: #27435
make STRLEFT and STRRIGHT and SUBSTR function DEPEND_ON_ARGUMENT
and the case where the strleft have NULL argument the result will always null(before get empty)
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...