Uh oh!
There was an error while loading. Please reload this page.
[Bug](array) fix array column core dump in get_shrinked_column as not check type - #33295
Conversation
doris-robot
commented
Apr 7, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
zhangstar333
commented
Apr 7, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
zhangstar333
commented
Apr 7, 2024
run buildall |
| MutableColumnPtr get_shrinked_column() override; | ||
| bool could_shrinked_column() override; | ||
| bool is_variable_length() const override { return nested_column->is_variable_length(); } | ||
There was a problem hiding this comment.
warning: method 'get_family_name' can be made static [readability-convert-member-functions-to-static]
| staticconstchar*get_family_name() override { return"Nullable"; } |
| MutableColumnPtr clone_resized(size_t to_size) const override; | ||
| MutableColumnPtr get_shrinked_column() override; | ||
| bool could_shrinked_column() override { return true; } |
There was a problem hiding this comment.
warning: method 'could_shrinked_column' can be made static [readability-convert-member-functions-to-static]
| boolcould_shrinked_column() override { return true; } | |
| staticboolcould_shrinked_column() override { return true; } |
| return ColumnStruct::create(new_columns); | ||
| } | ||
| bool ColumnStruct::could_shrinked_column() { |
There was a problem hiding this comment.
warning: method 'could_shrinked_column' can be made static [readability-convert-member-functions-to-static]
be/src/vec/columns/column_struct.h:158:
- bool could_shrinked_column() override;+ static bool could_shrinked_column() override;PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
doris-robot
commented
Apr 7, 2024
TPC-H: Total hot run time: 38915 ms |
doris-robot
commented
Apr 7, 2024
TeamCity be ut coverage result: |
doris-robot
commented
Apr 7, 2024
TPC-DS: Total hot run time: 180883 ms |
doris-robot
commented
Apr 7, 2024
ClickBench: Total hot run time: 30.3 s |
doris-robot
commented
Apr 7, 2024
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
… check type (#33295) * [Bug](array) fix array column core dump in get_shrinked_column as not check type * add function could_shrinked_column
… check type (apache#33295) * [Bug](array) fix array column core dump in get_shrinked_column as not check type * add function could_shrinked_column
… check type (apache#33295) * [Bug](array) fix array column core dump in get_shrinked_column as not check type * add function could_shrinked_column
… check type (apache#33295) (apache#33552) * [Bug](array) fix array column core dump in get_shrinked_column as not check type * add function could_shrinked_column
… check type (apache#33295) * [Bug](array) fix array column core dump in get_shrinked_column as not check type * add function could_shrinked_column
get_shrinked_column() function should only call by string type.
so should check column type.
Proposed changes
Issue Number: close #xxx
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...