-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](index compaction)Add column unique id check before use #47562
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. Please clearly describe your PR:
|
|
run buildall |
|
run buildall |
TPC-H: Total hot run time: 31762 ms |
TPC-DS: Total hot run time: 191292 ms |
ClickBench: Total hot run time: 31.11 s |
|
TeamCity be ut coverage result: |
airborne12
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
|
we need to add UT test for index compaction |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
zzzxl1993
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
Problem Summary: This pull request introduces a new method to check for the existence of a column by its unique ID in the `TabletSchema` class and utilizes this method in the compaction process to improve error handling and logging.
…47562) Problem Summary: This pull request introduces a new method to check for the existence of a column by its unique ID in the `TabletSchema` class and utilizes this method in the compaction process to improve error handling and logging.
…47562) Problem Summary: This pull request introduces a new method to check for the existence of a column by its unique ID in the `TabletSchema` class and utilizes this method in the compaction process to improve error handling and logging.
…47562) Problem Summary: This pull request introduces a new method to check for the existence of a column by its unique ID in the `TabletSchema` class and utilizes this method in the compaction process to improve error handling and logging.
What problem does this PR solve?
Problem Summary:
This pull request introduces a new method to check for the existence of a column by its unique ID in the
TabletSchemaclass and utilizes this method in the compaction process to improve error handling and logging.Enhancements to error handling and logging:
be/src/olap/compaction.cpp: Added a check to skip index compaction for columns not found in the tablet schema and log a warning message.New method addition:
be/src/olap/tablet_schema.cpp: Implemented thehas_column_unique_idmethod to check for the existence of a column by its unique ID in theTabletSchemaclass.be/src/olap/tablet_schema.h: Declared thehas_column_unique_idmethod in theTabletSchemaclass.Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)