-
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](partial update) fix data correctness risk when load delete sign data into a table with sequence col #32574
[fix](partial update) fix data correctness risk when load delete sign data into a table with sequence col #32574
Conversation
… data into a table with sequence col
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
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.
LGTM
PR approved by anyone and no changes requested. |
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity be ut coverage result: |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
TeamCity be ut coverage result: |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 37541 ms
|
TPC-DS: Total hot run time: 180867 ms
|
TPC-H: Total hot run time: 38438 ms
|
TPC-DS: Total hot run time: 180870 ms
|
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. |
… data into a table with sequence col (#32574)
… data into a table with sequence col (apache#32574)
… data into a table with sequence col (apache#32574)
…sign data into a table with sequence col (apache#32574) (apache#36228) cherry-pick apache#32574
…sign data into a table with sequence col (apache#32574) (apache#36228) (apache#278) cherry-pick apache#32574
Proposed changes
Issue Number: close #xxx
In the current implementation of partial column update, in order to improve the efficiency of the load job, for rows
with delete sign, will automatically ignore the missing columns of the data complement, but when the table has sequence columns, the sequence columns are required to complement.
If a row is written with a delete sign, but the sequence columns are not filled in, the merge-on-read policy compaction will result in incorrect data.
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...