Uh oh!
There was an error while loading. Please reload this page.
[fix](index compaction)Add column unique id check before use - #47562
Conversation
Thearas
commented
Feb 6, 2025
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
qidaye
commented
Feb 6, 2025
run buildall |
Uh oh!
There was an error while loading. Please reload this page.
qidaye
commented
Feb 6, 2025
run buildall |
doris-robot
commented
Feb 6, 2025
TPC-H: Total hot run time: 31762 ms |
doris-robot
commented
Feb 6, 2025
TPC-DS: Total hot run time: 191292 ms |
doris-robot
commented
Feb 6, 2025
ClickBench: Total hot run time: 31.11 s |
doris-robot
commented
Feb 6, 2025
TeamCity be ut coverage result: |
airborne12
commented
Feb 7, 2025
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. |
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)