-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[enhancement](function) change some function nullable mode #30991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your contribution to Apache Doris. |
|
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
|
|
||
| size_t get_number_of_arguments() const override { return 1; } | ||
|
|
||
| DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: method 'get_return_type_impl' can be made static [readability-convert-member-functions-to-static]
| DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | |
| static DataTypePtr get_return_type_impl(const DataTypes& arguments) override { |
| Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, | ||
| size_t result, size_t input_rows_count) const override { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: method 'execute_impl' can be made static [readability-convert-member-functions-to-static]
| Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, | |
| size_t result, size_t input_rows_count) const override { | |
| static Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, | |
| size_t result, size_t input_rows_count) override { |
|
run buildall |
|
run buildall |
TPC-H: Total hot run time: 41452 ms |
TPC-DS: Total hot run time: 179995 ms |
ClickBench: Total hot run time: 31.35 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
run buildall |
TPC-H: Total hot run time: 41420 ms |
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 180865 ms |
ClickBench: Total hot run time: 30.22 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
run buildall |
TPC-H: Total hot run time: 41638 ms |
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 180932 ms |
ClickBench: Total hot run time: 31.6 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
zclllyybb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For those change of functions' behaviour but not signature, you should apply them for both old and new version. For the functions which didn't change their signature, we don't need a old version then.
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 41145 ms |
TPC-DS: Total hot run time: 180505 ms |
ClickBench: Total hot run time: 30.67 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can u confirm this file's content? seems unrecognizable in github. not sure if it's right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
confirmed
|
If you changed some SQL results. please show some examples in PR's "Proposed changes" about their result before/now. |
Okay, it's added now. |
zclllyybb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, the issue could be closed after this merged.
|
PR approved by anyone and no changes requested. |
|
PR approved by at least one committer and no changes requested. |
change some function nullable mode
Proposed changes
Issue Number: close #27435
change some function nullable mode, and change function unhex ,to_base64, from_base64,will return empty string when input empty string
before:
now:
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...