-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[fix](complex-column)fix column bitmap with agg behavior #43228
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
only branch-2.0 need |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
TeamCity be ut coverage result: |
be/src/vec/columns/column_complex.h
Outdated
@@ -81,7 +81,8 @@ class ColumnComplexType final : public COWHelper<IColumn, ColumnComplexType<T>> | |||
} else if constexpr (std::is_same_v<T, QuantileStateDouble>) { | |||
pvalue->deserialize(Slice(pos, length)); | |||
} else { | |||
LOG(FATAL) << "Unexpected type in column complex"; | |||
throw doris::Exception(ErrorCode::INTERNAL_ERROR, "Unexpected type in column complex"); | |||
__builtin_unreachable(); |
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.
the func is void, seems no need add __builtin_unreachable()
be/src/vec/columns/column_complex.h
Outdated
@@ -124,12 +125,14 @@ class ColumnComplexType final : public COWHelper<IColumn, ColumnComplexType<T>> | |||
|
|||
[[noreturn]] void get_permutation(bool reverse, size_t limit, int nan_direction_hint, | |||
IColumn::Permutation& res) const override { | |||
LOG(FATAL) << "get_permutation not implemented"; | |||
throw doris::Exception(ErrorCode::INTERNAL_ERROR, "get_permutation not implemented"); | |||
__builtin_unreachable(); |
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.
same to the up
be/src/vec/columns/column_complex.h
Outdated
} | ||
|
||
[[noreturn]] const char* deserialize_and_insert_from_arena(const char* pos) override { | ||
throw doris::Exception(ErrorCode::INTERNAL_ERROR, | ||
"deserialize_and_insert_from_arena not implemented"); | ||
__builtin_unreachable(); | ||
LOG(FATAL) << "deserialize_and_insert_from_arena not implemented"; |
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.
should we delete the log(fatal)
run buildall |
TeamCity be ut coverage result: |
clang-tidy review says "All clean, LGTM! 👍" |
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
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
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
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Check List (For Committer)
Test
Behavior changed:
Does this need documentation?
Release note
None
Check List (For Reviewer who merge this PR)